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

Unified Diff: third_party/WebKit/Source/modules/mediastream/RTCCertificate.cpp

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/RTCCertificate.cpp
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCCertificate.cpp b/third_party/WebKit/Source/modules/mediastream/RTCCertificate.cpp
index 96ecb6caf141f824ad3c63a9b30464ad88a33f22..f80a2299ffb3f24d125a40a831d851ca213be6c9 100644
--- a/third_party/WebKit/Source/modules/mediastream/RTCCertificate.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/RTCCertificate.cpp
@@ -30,10 +30,12 @@
#include "modules/mediastream/RTCCertificate.h"
+#include "wtf/PtrUtil.h"
+
namespace blink {
RTCCertificate::RTCCertificate(std::unique_ptr<WebRTCCertificate> certificate)
- : m_certificate(adoptPtr(certificate.release()))
+ : m_certificate(wrapUnique(certificate.release()))
{
}

Powered by Google App Engine
This is Rietveld 408576698