Index: content/browser/media/cdm/browser_cdm_manager.cc |
diff --git a/content/browser/media/cdm/browser_cdm_manager.cc b/content/browser/media/cdm/browser_cdm_manager.cc |
index eefceba28b97d1a73cd31834fb3b34d231a554ae..84412848d522653c5ea094d05c612f4cec71408d 100644 |
--- a/content/browser/media/cdm/browser_cdm_manager.cc |
+++ b/content/browser/media/cdm/browser_cdm_manager.cc |
@@ -31,6 +31,7 @@ |
namespace content { |
using media::BrowserCdm; |
+using media::BrowserCdmPtr; |
using media::MediaKeys; |
namespace { |
@@ -541,7 +542,7 @@ void BrowserCdmManager::AddCdm(int render_frame_id, |
scoped_ptr<SimplePromise> promise(new SimplePromise( |
weak_ptr_factory_.GetWeakPtr(), render_frame_id, cdm_id, promise_id)); |
- scoped_ptr<BrowserCdm> cdm(media::CreateBrowserCdm( |
+ BrowserCdmPtr cdm(media::CreateBrowserCdm( |
key_system, use_hw_secure_codecs, |
BROWSER_CDM_MANAGER_CB(OnSessionMessage), |
BROWSER_CDM_MANAGER_CB(OnSessionClosed), |