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

Unified Diff: third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.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/MediaKeySession.h
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.h b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.h
index 8fcfaf93ed4d10d1752f7349864e1db6477b80cc..018d75daf5f80f70d964d7b35016ce0d0384c159 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.h
+++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.h
@@ -36,6 +36,7 @@
#include "platform/heap/Handle.h"
#include "public/platform/WebContentDecryptionModuleSession.h"
#include "public/platform/WebEncryptedMediaTypes.h"
+#include <memory>
namespace blink {
@@ -118,7 +119,7 @@ private:
void finishLoad();
Member<GenericEventQueue> m_asyncEventQueue;
- OwnPtr<WebContentDecryptionModuleSession> m_session;
+ std::unique_ptr<WebContentDecryptionModuleSession> m_session;
// Used to determine if MediaKeys is still active.
WeakMember<MediaKeys> m_mediaKeys;

Powered by Google App Engine
This is Rietveld 408576698