diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/generated/JSKeyboardEvent.cpp')
-rw-r--r-- | src/3rdparty/webkit/WebCore/generated/JSKeyboardEvent.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/3rdparty/webkit/WebCore/generated/JSKeyboardEvent.cpp b/src/3rdparty/webkit/WebCore/generated/JSKeyboardEvent.cpp index 14dea9cbc0..cea3e427ec 100644 --- a/src/3rdparty/webkit/WebCore/generated/JSKeyboardEvent.cpp +++ b/src/3rdparty/webkit/WebCore/generated/JSKeyboardEvent.cpp @@ -79,7 +79,7 @@ public: JSKeyboardEventConstructor(ExecState* exec) : DOMObject(JSKeyboardEventConstructor::createStructure(exec->lexicalGlobalObject()->objectPrototype())) { - putDirect(exec->propertyNames().prototype, JSKeyboardEventPrototype::self(exec), None); + putDirect(exec->propertyNames().prototype, JSKeyboardEventPrototype::self(exec, exec->lexicalGlobalObject()), None); } virtual bool getOwnPropertySlot(ExecState*, const Identifier&, PropertySlot&); virtual const ClassInfo* classInfo() const { return &s_info; } @@ -115,9 +115,9 @@ static const HashTable JSKeyboardEventPrototypeTable = const ClassInfo JSKeyboardEventPrototype::s_info = { "KeyboardEventPrototype", 0, &JSKeyboardEventPrototypeTable, 0 }; -JSObject* JSKeyboardEventPrototype::self(ExecState* exec) +JSObject* JSKeyboardEventPrototype::self(ExecState* exec, JSGlobalObject* globalObject) { - return getDOMPrototype<JSKeyboardEvent>(exec); + return getDOMPrototype<JSKeyboardEvent>(exec, globalObject); } bool JSKeyboardEventPrototype::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) @@ -132,9 +132,9 @@ JSKeyboardEvent::JSKeyboardEvent(PassRefPtr<Structure> structure, PassRefPtr<Key { } -JSObject* JSKeyboardEvent::createPrototype(ExecState* exec) +JSObject* JSKeyboardEvent::createPrototype(ExecState* exec, JSGlobalObject* globalObject) { - return new (exec) JSKeyboardEventPrototype(JSKeyboardEventPrototype::createStructure(JSUIEventPrototype::self(exec))); + return new (exec) JSKeyboardEventPrototype(JSKeyboardEventPrototype::createStructure(JSUIEventPrototype::self(exec, globalObject))); } bool JSKeyboardEvent::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) |