| Index: chrome/browser/zygote_main_linux.cc
|
| diff --git a/chrome/browser/zygote_main_linux.cc b/chrome/browser/zygote_main_linux.cc
|
| index a163550287bea0cb17c23fc243fb93d51987749d..01eb8379e5d85e8fde5a7edbcc2a163b2a54784e 100644
|
| --- a/chrome/browser/zygote_main_linux.cc
|
| +++ b/chrome/browser/zygote_main_linux.cc
|
| @@ -14,6 +14,7 @@
|
| #include "base/command_line.h"
|
| #include "base/eintr_wrapper.h"
|
| #include "base/global_descriptors_posix.h"
|
| +#include "base/path_service.h"
|
| #include "base/pickle.h"
|
| #include "base/rand_util.h"
|
| #include "base/unix_domain_socket_posix.h"
|
| @@ -25,6 +26,8 @@
|
| #include "chrome/common/process_watcher.h"
|
| #include "chrome/common/sandbox_methods_linux.h"
|
|
|
| +#include "media/base/media.h"
|
| +
|
| #include "skia/ext/SkFontHost_fontconfig_control.h"
|
|
|
| // http://code.google.com/p/chromium/wiki/LinuxZygote
|
| @@ -323,6 +326,10 @@ static bool MaybeEnterChroot() {
|
| PATCH_GLOBAL_OFFSET_TABLE(localtime_r, sandbox_wrapper::localtime_r);
|
| #endif
|
|
|
| + FilePath module_path;
|
| + if (PathService::Get(base::DIR_MODULE, &module_path))
|
| + media::InitializeMediaLibrary(module_path);
|
| +
|
| static const char kChrootMe = 'C';
|
| static const char kChrootMeSuccess = 'O';
|
|
|
|
|