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

Unified Diff: third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.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/mediarecorder/MediaRecorder.h
diff --git a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.h b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.h
index 52de037cd51ff0b26127bcf94a38b5c5c0a3dd9c..a0972e0b9f8c24e3c2832473c7ddbf5911bb1844 100644
--- a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.h
+++ b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.h
@@ -15,6 +15,7 @@
#include "platform/AsyncMethodRunner.h"
#include "public/platform/WebMediaRecorderHandler.h"
#include "public/platform/WebMediaRecorderHandlerClient.h"
+#include <memory>
namespace blink {
@@ -102,9 +103,9 @@ private:
State m_state;
- OwnPtr<BlobData> m_blobData;
+ std::unique_ptr<BlobData> m_blobData;
- OwnPtr<WebMediaRecorderHandler> m_recorderHandler;
+ std::unique_ptr<WebMediaRecorderHandler> m_recorderHandler;
Member<AsyncMethodRunner<MediaRecorder>> m_dispatchScheduledEventRunner;
HeapVector<Member<Event>> m_scheduledEvents;

Powered by Google App Engine
This is Rietveld 408576698