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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorBaseAgent.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorBaseAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h b/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
index 9d046dfb72c784bb0e85416850c1c67abac79512..f04fec3984fcb26ecce07d58284bef2e3731cb9f 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
@@ -66,14 +66,14 @@ public:
virtual void discardAgent() { }
virtual void didCommitLoadForLocalFrame(LocalFrame*) { }
virtual void flushPendingProtocolNotifications() { }
- virtual void setState(PassRefPtr<protocol::DictionaryValue>);
+ virtual void setState(protocol::DictionaryValue*);
String name() const { return m_name; }
void appended(InstrumentingAgents*);
protected:
RawPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents;
- RefPtr<protocol::DictionaryValue> m_state;
+ protocol::DictionaryValue* m_state;
private:
String m_name;
@@ -99,7 +99,7 @@ public:
private:
RawPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents;
- RefPtr<protocol::DictionaryValue> m_state;
+ OwnPtr<protocol::DictionaryValue> m_state;
WillBeHeapVector<OwnPtrWillBeMember<InspectorAgent>> m_agents;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorBaseAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698