| Index: chrome/renderer/render_process.cc
|
| ===================================================================
|
| --- chrome/renderer/render_process.cc (revision 16276)
|
| +++ chrome/renderer/render_process.cc (working copy)
|
| @@ -112,11 +112,9 @@
|
| }
|
|
|
| FilePath module_path;
|
| - if (PathService::Get(base::DIR_MODULE, &module_path)) {
|
| - if (media::InitializeMediaLibrary(module_path)) {
|
| - webkit_glue::SetMediaPlayerAvailable(true);
|
| - }
|
| - }
|
| + initialized_media_library_ =
|
| + PathService::Get(base::DIR_MODULE, &module_path) &&
|
| + media::InitializeMediaLibrary(module_path);
|
| }
|
|
|
| bool RenderProcess::InProcessPlugins() {
|
|
|