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

Unified Diff: media/mojo/services/mojo_cdm_service.cc

Issue 2326913003: Privatize StrongBinding lifetime management (Closed)
Patch Set: rebase Created 4 years, 3 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
« no previous file with comments | « media/mojo/services/mojo_cdm_service.h ('k') | media/mojo/services/mojo_media_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_cdm_service.cc
diff --git a/media/mojo/services/mojo_cdm_service.cc b/media/mojo/services/mojo_cdm_service.cc
index 5324592f74fc7cb66cb4d26a5f0652b1126aa120..83c38680f724096c4a7d2f1e20cf74acb7666480 100644
--- a/media/mojo/services/mojo_cdm_service.cc
+++ b/media/mojo/services/mojo_cdm_service.cc
@@ -77,12 +77,9 @@ scoped_refptr<MediaKeys> MojoCdmService::LegacyGetCdm(int cdm_id) {
return g_cdm_manager.Get().GetCdm(cdm_id);
}
-MojoCdmService::MojoCdmService(
- base::WeakPtr<MojoCdmServiceContext> context,
- CdmFactory* cdm_factory,
- mojo::InterfaceRequest<mojom::ContentDecryptionModule> request)
- : binding_(this, std::move(request)),
- context_(context),
+MojoCdmService::MojoCdmService(base::WeakPtr<MojoCdmServiceContext> context,
+ CdmFactory* cdm_factory)
+ : context_(context),
cdm_factory_(cdm_factory),
cdm_id_(CdmContext::kInvalidCdmId),
weak_factory_(this) {
« no previous file with comments | « media/mojo/services/mojo_cdm_service.h ('k') | media/mojo/services/mojo_media_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698