diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/generated/JSLocation.cpp')
-rw-r--r-- | src/3rdparty/webkit/WebCore/generated/JSLocation.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/3rdparty/webkit/WebCore/generated/JSLocation.cpp b/src/3rdparty/webkit/WebCore/generated/JSLocation.cpp index b1bbc16f9b..0cec41b665 100644 --- a/src/3rdparty/webkit/WebCore/generated/JSLocation.cpp +++ b/src/3rdparty/webkit/WebCore/generated/JSLocation.cpp @@ -79,9 +79,9 @@ static const HashTable JSLocationPrototypeTable = const ClassInfo JSLocationPrototype::s_info = { "LocationPrototype", 0, &JSLocationPrototypeTable, 0 }; -JSObject* JSLocationPrototype::self(ExecState* exec) +JSObject* JSLocationPrototype::self(ExecState* exec, JSGlobalObject* globalObject) { - return getDOMPrototype<JSLocation>(exec); + return getDOMPrototype<JSLocation>(exec, globalObject); } bool JSLocationPrototype::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) @@ -103,9 +103,9 @@ JSLocation::~JSLocation() } -JSObject* JSLocation::createPrototype(ExecState* exec) +JSObject* JSLocation::createPrototype(ExecState* exec, JSGlobalObject* globalObject) { - return new (exec) JSLocationPrototype(JSLocationPrototype::createStructure(exec->lexicalGlobalObject()->objectPrototype())); + return new (exec) JSLocationPrototype(JSLocationPrototype::createStructure(globalObject->objectPrototype())); } bool JSLocation::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) |