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

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

Powered by Google App Engine
This is Rietveld 408576698