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; |