Index: Source/bindings/tests/results/V8TestInterfaceDocument.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceDocument.cpp b/Source/bindings/tests/results/V8TestInterfaceDocument.cpp |
index 1a5cc48d284e63e7193ee57f69a6270cea7b10aa..ff7ab712c7ad9f6b392b35d292691a937a96565f 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceDocument.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceDocument.cpp |
@@ -104,8 +104,8 @@ v8::Handle<v8::Object> wrap(TestInterfaceDocument* impl, v8::Handle<v8::Object> |
v8::Handle<v8::Object> wrapper = V8TestInterfaceDocument::createWrapper(impl, creationContext, isolate); |
if (wrapper.IsEmpty()) |
return wrapper; |
- DOMWrapperWorld* world = DOMWrapperWorld::current(isolate); |
- if (world->isMainWorld()) { |
+ DOMWrapperWorld& world = DOMWrapperWorld::current(isolate); |
+ if (world.isMainWorld()) { |
if (LocalFrame* frame = impl->frame()) |
frame->script().windowShell(world)->updateDocumentWrapper(wrapper); |
} |