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

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

Issue 1865913005: Nuke WebPassOwnPtr<T> and replace it with std::unique_ptr<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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.h
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCCertificate.h b/third_party/WebKit/Source/modules/mediastream/RTCCertificate.h
index d98bba016a2da127fbc5eba3b62d2cb71a93a48f..2cfd63a473890d66fdd292e4f7fd706bec5e4c54 100644
--- a/third_party/WebKit/Source/modules/mediastream/RTCCertificate.h
+++ b/third_party/WebKit/Source/modules/mediastream/RTCCertificate.h
@@ -34,20 +34,21 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/dom/DOMTimeStamp.h"
#include "platform/heap/GarbageCollected.h"
-#include "public/platform/WebPassOwnPtr.h"
#include "public/platform/WebRTCCertificate.h"
#include "wtf/OwnPtr.h"
+#include <memory>
+
namespace blink {
class RTCCertificate final : public GarbageCollectedFinalized<RTCCertificate>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
// Takes ownership of the certificate.
- RTCCertificate(WebPassOwnPtr<WebRTCCertificate>);
+ RTCCertificate(std::unique_ptr<WebRTCCertificate>);
// Returns a new WebRTCCertificate shallow copy.
- WebPassOwnPtr<WebRTCCertificate> certificateShallowCopy() const;
+ std::unique_ptr<WebRTCCertificate> certificateShallowCopy() const;
DEFINE_INLINE_TRACE() {}

Powered by Google App Engine
This is Rietveld 408576698