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

Unified Diff: media/base/cdm_factory.h

Issue 1407933010: media: Make MediaKeys ref-counted. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 5 years, 1 month 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
« no previous file with comments | « media/base/browser_cdm_factory.cc ('k') | media/base/cdm_initialized_promise.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/cdm_factory.h
diff --git a/media/base/cdm_factory.h b/media/base/cdm_factory.h
index 4a5cfb7f880416907ebd700a39adca853fdcf83a..a120707847365423539d8c5883b76f5671a524ca 100644
--- a/media/base/cdm_factory.h
+++ b/media/base/cdm_factory.h
@@ -17,7 +17,7 @@ namespace media {
// Callback used when CDM is created. |error_message| only used if
// MediaKeys is null (i.e. CDM can't be created).
-using CdmCreatedCB = base::Callback<void(scoped_ptr<MediaKeys>,
+using CdmCreatedCB = base::Callback<void(const scoped_refptr<MediaKeys>&,
const std::string& error_message)>;
struct CdmConfig;
« no previous file with comments | « media/base/browser_cdm_factory.cc ('k') | media/base/cdm_initialized_promise.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698