Index: src/inspector/InjectedScriptNative.cpp |
diff --git a/src/inspector/InjectedScriptNative.cpp b/src/inspector/InjectedScriptNative.cpp |
index c5b7fa0cde4470bf6bc066319b5d587e15b98307..173716c1c44925dd7d9bed41f3063fffef1c08b2 100644 |
--- a/src/inspector/InjectedScriptNative.cpp |
+++ b/src/inspector/InjectedScriptNative.cpp |
@@ -26,8 +26,7 @@ void InjectedScriptNative::setOnInjectedScriptHost( |
} |
InjectedScriptNative* InjectedScriptNative::fromInjectedScriptHost( |
- v8::Local<v8::Object> injectedScriptObject) { |
- v8::Isolate* isolate = injectedScriptObject->GetIsolate(); |
+ v8::Isolate* isolate, v8::Local<v8::Object> injectedScriptObject) { |
v8::HandleScope handleScope(isolate); |
v8::Local<v8::Context> context = isolate->GetCurrentContext(); |
v8::Local<v8::Private> privateKey = v8::Private::ForApi( |