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

Unified Diff: third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp

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/mediarecorder/MediaRecorder.cpp
diff --git a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp
index 4d415e037144b1782a40ef9da17f3d794897f129..c7dd95403fabe6badf25c92e3f2b3f1e2f729248 100644
--- a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp
+++ b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp
@@ -14,7 +14,6 @@
#include "platform/blob/BlobData.h"
#include "public/platform/Platform.h"
#include "public/platform/WebMediaStream.h"
-#include "wtf/PtrUtil.h"
#include <algorithm>
namespace blink {
@@ -146,7 +145,7 @@ MediaRecorder::MediaRecorder(ExecutionContext* context, MediaStream* stream, con
{
DCHECK(m_stream->getTracks().size());
- m_recorderHandler = wrapUnique(Platform::current()->createMediaRecorderHandler());
+ m_recorderHandler = adoptPtr(Platform::current()->createMediaRecorderHandler());
DCHECK(m_recorderHandler);
if (!m_recorderHandler) {

Powered by Google App Engine
This is Rietveld 408576698