diff options
Diffstat (limited to 'WebCore/bridge/runtime_object.h')
-rw-r--r-- | WebCore/bridge/runtime_object.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/bridge/runtime_object.h b/WebCore/bridge/runtime_object.h index b8788c9..fa81aa1 100644 --- a/WebCore/bridge/runtime_object.h +++ b/WebCore/bridge/runtime_object.h @@ -53,9 +53,9 @@ public: static const ClassInfo s_info; - static ObjectPrototype* createPrototype(ExecState* exec) + static ObjectPrototype* createPrototype(ExecState*, JSGlobalObject* globalObject) { - return exec->lexicalGlobalObject()->objectPrototype(); + return globalObject->objectPrototype(); } static PassRefPtr<Structure> createStructure(JSValuePtr prototype) |