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

Unified Diff: third_party/WebKit/Source/core/inspector/v8/V8InjectedScriptHost.h

Issue 1455583002: Pass current script context to InspectorWrapper::unwrap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 1 month 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
Index: third_party/WebKit/Source/core/inspector/v8/V8InjectedScriptHost.h
diff --git a/third_party/WebKit/Source/core/inspector/v8/V8InjectedScriptHost.h b/third_party/WebKit/Source/core/inspector/v8/V8InjectedScriptHost.h
index fc333be10cc134550617b66214a4d2e36f30a981..e61a87b71952a4dcb81eca1954dd0ca10774e3df 100644
--- a/third_party/WebKit/Source/core/inspector/v8/V8InjectedScriptHost.h
+++ b/third_party/WebKit/Source/core/inspector/v8/V8InjectedScriptHost.h
@@ -16,7 +16,7 @@ class InjectedScriptHost;
class V8InjectedScriptHost {
public:
static v8::Local<v8::Object> wrap(v8::Local<v8::FunctionTemplate> constructorTemplate, v8::Local<v8::Context>, PassRefPtrWillBeRawPtr<InjectedScriptHost>);
- static InjectedScriptHost* unwrap(v8::Local<v8::Object>);
+ static InjectedScriptHost* unwrap(v8::Local<v8::Context>, v8::Local<v8::Object>);
static v8::Local<v8::FunctionTemplate> createWrapperTemplate(v8::Isolate*);
static void clearConsoleMessagesCallback(const v8::FunctionCallbackInfo<v8::Value>&);

Powered by Google App Engine
This is Rietveld 408576698