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

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

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

Powered by Google App Engine
This is Rietveld 408576698