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

Unified Diff: components/html_viewer/media_factory.cc

Issue 1141703002: Chromium changes for static linking ffmpeg (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rolling DEPS to pick up ffmpeg GYP changes Created 5 years, 7 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
Index: components/html_viewer/media_factory.cc
diff --git a/components/html_viewer/media_factory.cc b/components/html_viewer/media_factory.cc
index eb9a8cee6f641f7fa9e89ea2a0626a17c3e60533..85fa7b3c49a2e0f01b63f0c7a21ee3015fc1d3dd 100644
--- a/components/html_viewer/media_factory.cc
+++ b/components/html_viewer/media_factory.cc
@@ -80,11 +80,7 @@ MediaFactory::MediaFactory(
enable_mojo_media_renderer_(base::CommandLine::ForCurrentProcess()
->HasSwitch(kEnableMojoMediaRenderer)),
compositor_task_runner_(compositor_task_runner) {
- if (!media::IsMediaLibraryInitialized()) {
- base::FilePath module_dir;
- CHECK(PathService::Get(base::DIR_EXE, &module_dir));
- CHECK(media::InitializeMediaLibrary(module_dir));
- }
+ media::InitializeMediaLibrary();
}
MediaFactory::~MediaFactory() {

Powered by Google App Engine
This is Rietveld 408576698