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 fa81aa1..b8788c9 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*, JSGlobalObject* globalObject) + static ObjectPrototype* createPrototype(ExecState* exec) { - return globalObject->objectPrototype(); + return exec->lexicalGlobalObject()->objectPrototype(); } static PassRefPtr<Structure> createStructure(JSValuePtr prototype) |