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

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

Issue 1621923002: [DevTools] Remove InspectorState. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments 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/core/inspector/v8/V8RuntimeAgentImpl.h
diff --git a/third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.h b/third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.h
index 09cbd962c05ede98c643359c534a943033335a21..b4b9f2d43c5950fff03b8095e1a01c38fb5f3c75 100644
--- a/third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.h
+++ b/third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.h
@@ -56,7 +56,7 @@ public:
~V8RuntimeAgentImpl() override;
// State management methods.
- void setInspectorState(InspectorState*) override;
+ void setInspectorState(PassRefPtr<JSONObject>) override;
void setFrontend(InspectorFrontend::Runtime*) override;
void clearFrontend() override;
void restore() override;
@@ -96,7 +96,7 @@ private:
void reportExecutionContextCreated(ScriptState*, const String& type, const String& origin, const String& humanReadableName, const String& frameId) override;
void reportExecutionContextDestroyed(ScriptState*) override;
- InspectorState* m_state;
+ RefPtr<JSONObject> m_state;
InspectorFrontend::Runtime* m_frontend;
InjectedScriptManager* m_injectedScriptManager;
V8DebuggerImpl* m_debugger;

Powered by Google App Engine
This is Rietveld 408576698