Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: src/inspector/InjectedScriptNative.cpp

Issue 2332243002: [inspector] fixed all deprecated calls (Closed)
Patch Set: addressed comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/inspector/InjectedScriptNative.h ('k') | src/inspector/JavaScriptCallFrame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « src/inspector/InjectedScriptNative.h ('k') | src/inspector/JavaScriptCallFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698