| Index: Source/bindings/tests/results/core/V8TestInterface.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8TestInterface.cpp b/Source/bindings/tests/results/core/V8TestInterface.cpp
|
| index c5ee644e37cb580b6931698d37cd1b861ba4fd7b..8c10a0a491f4a993dfbc4e0a473453e8de7e73d3 100644
|
| --- a/Source/bindings/tests/results/core/V8TestInterface.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestInterface.cpp
|
| @@ -2311,8 +2311,8 @@ 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> creationContext = v8::Local<v8::Object>::New(isolate, wrapper);
|
| - V8WrapperInstantiationScope scope(creationContext, isolate);
|
| + 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))
|
|
|