Index: Source/bindings/v8/V8WindowShell.cpp |
diff --git a/Source/bindings/v8/V8WindowShell.cpp b/Source/bindings/v8/V8WindowShell.cpp |
index c7dd679148e43c08c502f88bf01f7674f77c1d5c..05221c1dba05ccaad2ec5bb33ba85b86ea3f1549 100644 |
--- a/Source/bindings/v8/V8WindowShell.cpp |
+++ b/Source/bindings/v8/V8WindowShell.cpp |
@@ -244,7 +244,7 @@ bool V8WindowShell::initializeIfNeeded() |
SecurityOrigin* origin = m_world->isolatedWorldSecurityOrigin(); |
if (origin && InspectorInstrumentation::hasFrontends()) { |
- ScriptState* scriptState = ScriptState::forContext(v8::Local<v8::Context>::New(context)); |
+ ScriptState* scriptState = ScriptState::forContext(v8::Local<v8::Context>::New(m_isolate, context)); |
InspectorInstrumentation::didCreateIsolatedContext(m_frame, scriptState, origin); |
} |
} |