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