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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.h

Issue 1738073002: DevTools: introduce protocol::Value, baseline for hierarchical data in remote debugging protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/platform/v8_inspector/V8HeapProfilerAgentImpl.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.h b/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.h
index 8ccae38a9f23b23ddf6bcc5350c502a821d8991f..366951b19d7c8b3e8599a9b1fb06ee985fc4d5a0 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.h
@@ -23,7 +23,7 @@ public:
explicit V8HeapProfilerAgentImpl(v8::Isolate*, V8RuntimeAgent*);
~V8HeapProfilerAgentImpl() override;
- void setInspectorState(PassRefPtr<JSONObject> state) override { m_state = state; }
+ void setInspectorState(PassRefPtr<protocol::DictionaryValue> state) override { m_state = state; }
void setFrontend(protocol::Frontend::HeapProfiler* frontend) override { m_frontend = frontend; }
void clearFrontend() override;
void restore() override;
@@ -54,7 +54,7 @@ private:
v8::Isolate* m_isolate;
V8RuntimeAgent* m_runtimeAgent;
protocol::Frontend::HeapProfiler* m_frontend;
- RefPtr<JSONObject> m_state;
+ RefPtr<protocol::DictionaryValue> m_state;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698