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

Unified Diff: third_party/WebKit/Source/modules/encryptedmedia/MediaKeySystemAccess.h

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/encryptedmedia/MediaKeySystemAccess.h
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySystemAccess.h b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySystemAccess.h
index c1c4e13ccad03808dda892b629f6da4625bf5537..e5c4f4119bd34d8b2370ce38ae005022b36aa089 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySystemAccess.h
+++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySystemAccess.h
@@ -10,6 +10,7 @@
#include "modules/encryptedmedia/MediaKeySystemConfiguration.h"
#include "public/platform/WebContentDecryptionModuleAccess.h"
#include "wtf/Forward.h"
+#include <memory>
namespace blink {
@@ -17,7 +18,7 @@ class MediaKeySystemAccess final : public GarbageCollectedFinalized<MediaKeySyst
DEFINE_WRAPPERTYPEINFO();
public:
- MediaKeySystemAccess(const String& keySystem, PassOwnPtr<WebContentDecryptionModuleAccess>);
+ MediaKeySystemAccess(const String& keySystem, std::unique_ptr<WebContentDecryptionModuleAccess>);
virtual ~MediaKeySystemAccess();
const String& keySystem() const { return m_keySystem; }
@@ -28,7 +29,7 @@ public:
private:
const String m_keySystem;
- OwnPtr<WebContentDecryptionModuleAccess> m_access;
+ std::unique_ptr<WebContentDecryptionModuleAccess> m_access;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698