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

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

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/mediastream/RTCCertificate.h
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCCertificate.h b/third_party/WebKit/Source/modules/mediastream/RTCCertificate.h
index d51268a5235668835af3841149937f1183a1b877..a3e155f6ef4f039d031d53d597f0da6c5b1ecd45 100644
--- a/third_party/WebKit/Source/modules/mediastream/RTCCertificate.h
+++ b/third_party/WebKit/Source/modules/mediastream/RTCCertificate.h
@@ -35,6 +35,8 @@
#include "core/dom/DOMTimeStamp.h"
#include "platform/heap/GarbageCollected.h"
#include "public/platform/WebRTCCertificate.h"
+#include "wtf/OwnPtr.h"
+
#include <memory>
namespace blink {
@@ -55,7 +57,7 @@ public:
DOMTimeStamp expires() const;
private:
- std::unique_ptr<WebRTCCertificate> m_certificate;
+ OwnPtr<WebRTCCertificate> m_certificate;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698