summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Bindings
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Bindings')
-rw-r--r--Libraries/LibWeb/Bindings/LocationObject.cpp2
-rw-r--r--Libraries/LibWeb/Bindings/NavigatorObject.cpp2
-rw-r--r--Libraries/LibWeb/Bindings/Wrapper.h2
-rw-r--r--Libraries/LibWeb/Bindings/XMLHttpRequestPrototype.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/Libraries/LibWeb/Bindings/LocationObject.cpp b/Libraries/LibWeb/Bindings/LocationObject.cpp
index bb14fa368b..09fa7be967 100644
--- a/Libraries/LibWeb/Bindings/LocationObject.cpp
+++ b/Libraries/LibWeb/Bindings/LocationObject.cpp
@@ -36,7 +36,7 @@ namespace Web {
namespace Bindings {
LocationObject::LocationObject(JS::GlobalObject& global_object)
- : Object(global_object.object_prototype())
+ : Object(*global_object.object_prototype())
{
}
diff --git a/Libraries/LibWeb/Bindings/NavigatorObject.cpp b/Libraries/LibWeb/Bindings/NavigatorObject.cpp
index 5dce741196..a2787a9c09 100644
--- a/Libraries/LibWeb/Bindings/NavigatorObject.cpp
+++ b/Libraries/LibWeb/Bindings/NavigatorObject.cpp
@@ -35,7 +35,7 @@ namespace Web {
namespace Bindings {
NavigatorObject::NavigatorObject(JS::GlobalObject& global_object)
- : Object(global_object.object_prototype())
+ : Object(*global_object.object_prototype())
{
}
diff --git a/Libraries/LibWeb/Bindings/Wrapper.h b/Libraries/LibWeb/Bindings/Wrapper.h
index 5fc5abc606..b24cadd02e 100644
--- a/Libraries/LibWeb/Bindings/Wrapper.h
+++ b/Libraries/LibWeb/Bindings/Wrapper.h
@@ -42,7 +42,7 @@ class Wrapper
public:
protected:
explicit Wrapper(Object& prototype)
- : Object(&prototype)
+ : Object(prototype)
{
}
};
diff --git a/Libraries/LibWeb/Bindings/XMLHttpRequestPrototype.cpp b/Libraries/LibWeb/Bindings/XMLHttpRequestPrototype.cpp
index 85bc482422..32dee9d033 100644
--- a/Libraries/LibWeb/Bindings/XMLHttpRequestPrototype.cpp
+++ b/Libraries/LibWeb/Bindings/XMLHttpRequestPrototype.cpp
@@ -36,7 +36,7 @@ namespace Web {
namespace Bindings {
XMLHttpRequestPrototype::XMLHttpRequestPrototype(JS::GlobalObject& global_object)
- : Object(global_object.object_prototype())
+ : Object(*global_object.object_prototype())
{
}