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