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

Unified Diff: third_party/WebKit/Source/core/inspector/v8/V8ProfilerAgentImpl.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/V8ProfilerAgentImpl.h
diff --git a/third_party/WebKit/Source/core/inspector/v8/V8ProfilerAgentImpl.h b/third_party/WebKit/Source/core/inspector/v8/V8ProfilerAgentImpl.h
index 61ad489735674316a0a320843f648a4af6b7f0d0..64ca1ce1590fed7694d228390d36c71883810dec 100644
--- a/third_party/WebKit/Source/core/inspector/v8/V8ProfilerAgentImpl.h
+++ b/third_party/WebKit/Source/core/inspector/v8/V8ProfilerAgentImpl.h
@@ -21,7 +21,7 @@ public:
explicit V8ProfilerAgentImpl(v8::Isolate*);
~V8ProfilerAgentImpl() override;
- void setInspectorState(InspectorState* state) override { m_state = state; }
+ void setInspectorState(PassRefPtr<JSONObject> state) override { m_state = state; }
void setFrontend(InspectorFrontend::Profiler* frontend) override { m_frontend = frontend; }
void clearFrontend() override;
void restore() override;
@@ -48,7 +48,7 @@ private:
bool isRecording() const;
v8::Isolate* m_isolate;
- InspectorState* m_state;
+ RefPtr<JSONObject> m_state;
InspectorFrontend::Profiler* m_frontend;
bool m_enabled;
bool m_recordingCPUProfile;

Powered by Google App Engine
This is Rietveld 408576698