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

Unified Diff: third_party/WebKit/Source/web/WebDevToolsAgentImpl.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/web/WebDevToolsAgentImpl.h
diff --git a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
index 45326127b9f167a6270ab7d458162358cc7608dd..8e55d7f2549f876259cdc9dd0586e4af2645f20a 100644
--- a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
+++ b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
@@ -132,8 +132,8 @@ private:
void waitForCreateWindow(LocalFrame*) override;
// protocol::FrontendChannel implementation.
- void sendProtocolResponse(int sessionId, int callId, PassRefPtr<protocol::DictionaryValue> message) override;
- void sendProtocolNotification(PassRefPtr<protocol::DictionaryValue> message) override;
+ void sendProtocolResponse(int sessionId, int callId, PassOwnPtr<protocol::DictionaryValue> message) override;
+ void sendProtocolNotification(PassOwnPtr<protocol::DictionaryValue> message) override;
void flush() override;
// WebThread::TaskObserver implementation.
@@ -168,7 +168,7 @@ private:
InspectorAgentRegistry m_agents;
bool m_deferredAgentsInitialized;
- typedef Vector<std::pair<int, RefPtr<protocol::Value>>> NotificationQueue;
+ typedef Vector<std::pair<int, OwnPtr<protocol::Value>>> NotificationQueue;
NotificationQueue m_notificationQueue;
int m_sessionId;
String m_stateCookie;

Powered by Google App Engine
This is Rietveld 408576698