Commit fc940c2a authored by Will Cassella's avatar Will Cassella Committed by Chromium LUCI CQ

Don't perform initialization of media library in browser process

This CL removes the call to `media::InitializeMediaLibrary` in the
browser main loop. Initializing the media library in the browser process
should not be necessary, and it's done elsewhere for the renderer
process.

Change-Id: I0b430245019b519fe1614dc9d3e9263b59a3b2a0
Bug: 1003535
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2577877Reviewed-by: default avatarBo <boliu@chromium.org>
Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
Commit-Queue: Will Cassella <cassew@google.com>
Cr-Commit-Position: refs/heads/master@{#835792}
parent ebf0b895
...@@ -119,7 +119,6 @@ ...@@ -119,7 +119,6 @@
#include "media/audio/audio_manager.h" #include "media/audio/audio_manager.h"
#include "media/audio/audio_system.h" #include "media/audio/audio_system.h"
#include "media/audio/audio_thread_impl.h" #include "media/audio/audio_thread_impl.h"
#include "media/base/media.h"
#include "media/base/user_input_monitor.h" #include "media/base/user_input_monitor.h"
#include "media/media_buildflags.h" #include "media/media_buildflags.h"
#include "media/midi/midi_service.h" #include "media/midi/midi_service.h"
...@@ -722,10 +721,6 @@ void BrowserMainLoop::PostMainMessageLoopStart() { ...@@ -722,10 +721,6 @@ void BrowserMainLoop::PostMainMessageLoopStart() {
screenlock_monitor_ = std::make_unique<ScreenlockMonitor>( screenlock_monitor_ = std::make_unique<ScreenlockMonitor>(
std::move(screenlock_monitor_source)); std::move(screenlock_monitor_source));
} }
{
TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:MediaFeatures");
media::InitializeMediaLibrary();
}
{ {
TRACE_EVENT0("startup", TRACE_EVENT0("startup",
"BrowserMainLoop::Subsystem:ContentWebUIController"); "BrowserMainLoop::Subsystem:ContentWebUIController");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment