Index: Source/bindings/v8/V8WindowShell.cpp |
diff --git a/Source/bindings/v8/V8WindowShell.cpp b/Source/bindings/v8/V8WindowShell.cpp |
index f5013a38d5aaebc4a30d2bb42f2323716c532727..252e1cd45cbcfd7d4fe51ee41d6814f422681a39 100644 |
--- a/Source/bindings/v8/V8WindowShell.cpp |
+++ b/Source/bindings/v8/V8WindowShell.cpp |
@@ -77,9 +77,9 @@ static void setInjectedScriptContextDebugId(v8::Handle<v8::Context> targetContex |
V8PerContextDebugData::setContextDebugData(targetContext, "injected", debugId); |
} |
-PassOwnPtr<V8WindowShell> V8WindowShell::create(LocalFrame* frame, PassRefPtr<DOMWrapperWorld> world, v8::Isolate* isolate) |
+PassOwnPtr<V8WindowShell> V8WindowShell::create(LocalFrame* frame, DOMWrapperWorld& world, v8::Isolate* isolate) |
{ |
- return adoptPtr(new V8WindowShell(frame, world, isolate)); |
+ return adoptPtr(new V8WindowShell(frame, &world, isolate)); |
} |
V8WindowShell::V8WindowShell(LocalFrame* frame, PassRefPtr<DOMWrapperWorld> world, v8::Isolate* isolate) |