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

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 efbab9b4805dbe7b4ccadae3a62e11b9659af8d7..9e34e152b1cce619699d2b8aab29d53f3c523f52 100644
--- a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
+++ b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
@@ -133,8 +133,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.
@@ -173,7 +173,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;
« no previous file with comments | « third_party/WebKit/Source/web/InspectorOverlay.cpp ('k') | third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698