| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp
|
| index 9308d44a11d76d93e111b74e2e4b285878d2c124..2f8dde001a5d85772ec3633aadf851d730bc42c0 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp
|
| @@ -1978,12 +1978,9 @@ static void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::A
|
| void V8TestInterface::visitDOMWrapper(v8::Isolate* isolate, ScriptWrappable* scriptWrappable, const v8::Persistent<v8::Object>& wrapper)
|
| {
|
| TestInterfaceImplementation* impl = scriptWrappable->toImpl<TestInterfaceImplementation>();
|
| - v8::Local<v8::Object> context = v8::Local<v8::Object>::New(isolate, wrapper);
|
| - v8::Context::Scope scope(context->CreationContext());
|
| TestInterfaceImplementation* referencedName = impl->referencedName();
|
| if (referencedName) {
|
| - if (DOMDataStore::containsWrapper(referencedName, isolate))
|
| - DOMDataStore::setWrapperReference(wrapper, referencedName, isolate);
|
| + DOMWrapperWorld::setWrapperReferencesInAllWorlds(wrapper, referencedName, isolate);
|
| }
|
| }
|
|
|
|
|