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

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

Issue 1745423002: DevTools: migrate protocol values from RefPtr to OwnPtr. (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 366951b19d7c8b3e8599a9b1fb06ee985fc4d5a0..428318cfc86ab1e6b8e3e97e4c018fb1d8d9e77c 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<protocol::DictionaryValue> state) override { m_state = state; }
+ void setInspectorState(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<protocol::DictionaryValue> m_state;
+ protocol::DictionaryValue* m_state;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698