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

Unified Diff: content/browser/browser_main_loop.cc

Issue 2565853003: media: Rename CdmService to CdmRegistry (Closed)
Patch Set: add missing BUILD.gn entry Created 4 years 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: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index cae028f6ab8e0e9cc5bfc8d5b5573372b5c32aaa..382b65470a868db5d08a81ce98b10fb6757997fe 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -190,7 +190,7 @@
#endif
#if defined(ENABLE_MOJO_CDM) && BUILDFLAG(ENABLE_PEPPER_CDMS)
-#include "content/browser/media/cdm_service_impl.h"
+#include "content/browser/media/cdm_registry_impl.h"
#endif
#if defined(USE_X11)
@@ -854,7 +854,7 @@ int BrowserMainLoop::PreCreateThreads() {
// Prior to any processing happening on the IO thread, we create the
// CDM service as it is predominantly used from the IO thread. This must
// be called on the main thread since it involves file path checks.
- CdmService::GetInstance()->Init();
+ CdmRegistry::GetInstance()->Init();
#endif
#if defined(OS_MACOSX)

Powered by Google App Engine
This is Rietveld 408576698