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 70e464048b0ba8a920ee56426b329b7732fbd075..e63b1292dc4aca78a64d317ed99e4b9fc86898a5 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterface.cpp |
+++ b/Source/bindings/tests/results/core/V8TestInterface.cpp |
@@ -2220,8 +2220,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)) |