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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge. 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/core/html/HTMLMediaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
index ed596d00d9df66b3052914fec0e6c9c47b0352e2..bdc69c80f16c1f283b7bfe2ee0153c7c8323bd4c 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -91,6 +91,7 @@
#include "public/platform/modules/remoteplayback/WebRemotePlaybackState.h"
#include "wtf/CurrentTime.h"
#include "wtf/MathExtras.h"
+#include "wtf/PtrUtil.h"
#include "wtf/text/CString.h"
#include <limits>
@@ -3612,7 +3613,7 @@ void HTMLMediaElement::setWebLayer(WebLayer* webLayer)
void HTMLMediaElement::mediaSourceOpened(WebMediaSource* webMediaSource)
{
- m_mediaSource->setWebMediaSourceAndOpen(adoptPtr(webMediaSource));
+ m_mediaSource->setWebMediaSourceAndOpen(wrapUnique(webMediaSource));
}
bool HTMLMediaElement::isInteractiveContent() const

Powered by Google App Engine
This is Rietveld 408576698