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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptState.h

Issue 1622213002: DevTools: make InjectedScript heap-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
Index: third_party/WebKit/Source/bindings/core/v8/ScriptState.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptState.h b/third_party/WebKit/Source/bindings/core/v8/ScriptState.h
index 2988c0c4a58ec6596e8309882c95c42ec50ed1b2..430a39b0da0b6eb2c08686a7261689fc1bdad6dd 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptState.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptState.h
@@ -89,6 +89,7 @@ public:
LocalDOMWindow* domWindow() const;
virtual ExecutionContext* executionContext() const;
virtual void setExecutionContext(ExecutionContext*);
+ int contextIdInDebugger();
dgozman 2016/01/25 18:28:17 Let's comment this may only be called when context
// This can return an empty handle if the v8::Context is gone.
v8::Local<v8::Context> context() const { return m_context.newLocal(m_isolate); }

Powered by Google App Engine
This is Rietveld 408576698