summaryrefslogtreecommitdiffstats
path: root/WebCore/bridge/runtime_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bridge/runtime_object.h')
-rw-r--r--WebCore/bridge/runtime_object.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/WebCore/bridge/runtime_object.h b/WebCore/bridge/runtime_object.h
index b735e36..64c8049 100644
--- a/WebCore/bridge/runtime_object.h
+++ b/WebCore/bridge/runtime_object.h
@@ -28,13 +28,14 @@
#include "Bridge.h"
#include <runtime/JSGlobalObject.h>
+#include <runtime/JSObjectWithGlobalObject.h>
namespace JSC {
namespace Bindings {
-class RuntimeObject : public JSObject {
+class RuntimeObject : public JSObjectWithGlobalObject {
public:
- RuntimeObject(ExecState*, PassRefPtr<Instance>);
+ RuntimeObject(ExecState*, JSGlobalObject*, PassRefPtr<Instance>);
virtual ~RuntimeObject();
virtual bool getOwnPropertySlot(ExecState*, const Identifier& propertyName, PropertySlot&);
@@ -67,7 +68,7 @@ public:
protected:
static const unsigned StructureFlags = OverridesGetOwnPropertySlot | OverridesGetPropertyNames | JSObject::StructureFlags;
- RuntimeObject(ExecState*, NonNullPassRefPtr<Structure>, PassRefPtr<Instance>);
+ RuntimeObject(ExecState*, JSGlobalObject*, NonNullPassRefPtr<Structure>, PassRefPtr<Instance>);
private:
virtual const ClassInfo* classInfo() const { return &s_info; }