| Index: trunk/Source/bindings/tests/results/V8TestInterfaceDocument.cpp
|
| ===================================================================
|
| --- trunk/Source/bindings/tests/results/V8TestInterfaceDocument.cpp (revision 167359)
|
| +++ trunk/Source/bindings/tests/results/V8TestInterfaceDocument.cpp (working copy)
|
| @@ -125,10 +125,9 @@
|
| v8::Handle<v8::Object> wrapper = V8TestInterfaceDocument::createWrapper(impl, creationContext, isolate);
|
| if (wrapper.IsEmpty())
|
| return wrapper;
|
| - DOMWrapperWorld* world = DOMWrapperWorld::current(isolate);
|
| - if (world->isMainWorld()) {
|
| + if (!isolatedWorldForEnteredContext(isolate)) {
|
| if (Frame* frame = impl->frame())
|
| - frame->script().windowShell(world)->updateDocumentWrapper(wrapper);
|
| + frame->script().windowShell(DOMWrapperWorld::mainWorld())->updateDocumentWrapper(wrapper);
|
| }
|
| return wrapper;
|
| }
|
|
|