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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorSession.h

Issue 2004313003: DevTools: migrate from OwnPtr to std::unique_ptr for inspector protocol classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined Created 4 years, 7 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/core/inspector/InspectorSession.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorSession.h b/third_party/WebKit/Source/core/inspector/InspectorSession.h
index 0bef2314fdda1fc17cd917d72bf360a7570a2dd7..738bfe7bbcc2fe3e336195cd8836ffe09850bd1e 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorSession.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorSession.h
@@ -83,15 +83,15 @@ private:
bool isInstrumenting();
Client* m_client;
- OwnPtr<V8InspectorSession> m_v8Session;
+ std::unique_ptr<V8InspectorSession> m_v8Session;
int m_sessionId;
bool m_autoFlush;
bool m_disposed;
Member<InspectedFrames> m_inspectedFrames;
Member<InstrumentingAgents> m_instrumentingAgents;
- OwnPtr<protocol::Frontend> m_inspectorFrontend;
- OwnPtr<protocol::Dispatcher> m_inspectorBackendDispatcher;
- OwnPtr<protocol::DictionaryValue> m_state;
+ std::unique_ptr<protocol::Frontend> m_inspectorFrontend;
+ std::unique_ptr<protocol::Dispatcher> m_inspectorBackendDispatcher;
+ std::unique_ptr<protocol::DictionaryValue> m_state;
HeapVector<Member<InspectorAgent>> m_agents;
Vector<protocol::String16> m_notificationQueue;
String m_lastSentState;

Powered by Google App Engine
This is Rietveld 408576698