Index: third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp |
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp |
index 6042681340577de902849eb09263ca4cee159578..a8c497630e017ce3502f6b8e8203a9036f340389 100644 |
--- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp |
+++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp |
@@ -50,7 +50,6 @@ |
#include "public/platform/WebString.h" |
#include "public/platform/WebURL.h" |
#include "wtf/ASCIICType.h" |
-#include "wtf/PtrUtil.h" |
#include <cmath> |
#include <limits> |
@@ -332,7 +331,7 @@ MediaKeySession::MediaKeySession(ScriptState* scriptState, MediaKeys* mediaKeys, |
// initializeNewSession() is called in response to the user calling |
// generateRequest(). |
WebContentDecryptionModule* cdm = mediaKeys->contentDecryptionModule(); |
- m_session = wrapUnique(cdm->createSession()); |
+ m_session = adoptPtr(cdm->createSession()); |
m_session->setClientInterface(this); |
// From https://w3c.github.io/encrypted-media/#createSession: |