diff options
Diffstat (limited to 'Source/WebCore/bindings/js/JSDOMWindowShell.h')
-rw-r--r-- | Source/WebCore/bindings/js/JSDOMWindowShell.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/bindings/js/JSDOMWindowShell.h b/Source/WebCore/bindings/js/JSDOMWindowShell.h index 4307c1c..c2c5336 100644 --- a/Source/WebCore/bindings/js/JSDOMWindowShell.h +++ b/Source/WebCore/bindings/js/JSDOMWindowShell.h @@ -48,7 +48,7 @@ namespace WebCore { { ASSERT_ARG(window, window); m_window.set(globalData, this, window); - setPrototype(window->prototype()); + setPrototype(globalData, window->prototype()); } void setWindow(PassRefPtr<DOMWindow>); @@ -58,7 +58,7 @@ namespace WebCore { void* operator new(size_t); - static PassRefPtr<JSC::Structure> createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype) + static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype) { return JSC::Structure::create(globalData, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount, &s_info); } |