summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSDOMWrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSDOMWrapper.h')
-rw-r--r--WebCore/bindings/js/JSDOMWrapper.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/WebCore/bindings/js/JSDOMWrapper.h b/WebCore/bindings/js/JSDOMWrapper.h
index 00594cf..2d09f01 100644
--- a/WebCore/bindings/js/JSDOMWrapper.h
+++ b/WebCore/bindings/js/JSDOMWrapper.h
@@ -22,15 +22,15 @@
#ifndef JSDOMWrapper_h
#define JSDOMWrapper_h
-#include <runtime/JSObject.h>
+#include <runtime/JSObjectWithGlobalObject.h>
namespace WebCore {
-// Base class for all objects in this binding except Window.
-class DOMObject : public JSC::JSObject {
+// FIXME: Rename to JSDOMWrapper.
+class DOMObject : public JSC::JSObjectWithGlobalObject {
protected:
- explicit DOMObject(NonNullPassRefPtr<JSC::Structure> structure)
- : JSObject(structure)
+ explicit DOMObject(JSC::JSGlobalObject* globalObject, NonNullPassRefPtr<JSC::Structure> structure)
+ : JSObjectWithGlobalObject(globalObject, structure)
{
}