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

Unified Diff: third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 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/modules/mediastream/RTCPeerConnection.h
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h b/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h
index 560b21071f73452a58e5288a9280e804cb1360c0..823d949df4b7dbcef2e0323f5912f6b15137d157 100644
--- a/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h
+++ b/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h
@@ -43,6 +43,7 @@
#include "public/platform/WebMediaConstraints.h"
#include "public/platform/WebRTCPeerConnectionHandler.h"
#include "public/platform/WebRTCPeerConnectionHandlerClient.h"
+#include <memory>
namespace blink {
class ExceptionState;
@@ -204,7 +205,7 @@ private:
MediaStreamVector m_localStreams;
MediaStreamVector m_remoteStreams;
- OwnPtr<WebRTCPeerConnectionHandler> m_peerHandler;
+ std::unique_ptr<WebRTCPeerConnectionHandler> m_peerHandler;
Member<AsyncMethodRunner<RTCPeerConnection>> m_dispatchScheduledEventRunner;
HeapVector<Member<EventWrapper>> m_scheduledEvents;

Powered by Google App Engine
This is Rietveld 408576698