Index: content/shell/shell_main_delegate.cc |
diff --git a/content/shell/shell_main_delegate.cc b/content/shell/shell_main_delegate.cc |
index f914e8dac64d4ae7b33a67616b82efc22dd9b557..6b8dc4f639febcff9e83cfd5e7fc9824e1889e43 100644 |
--- a/content/shell/shell_main_delegate.cc |
+++ b/content/shell/shell_main_delegate.cc |
@@ -13,6 +13,7 @@ |
#include "content/shell/shell_content_renderer_client.h" |
#include "content/shell/shell_content_utility_client.h" |
#include "content/shell/shell_render_process_observer.h" |
+#include "media/base/media.h" |
#include "ui/base/resource/resource_bundle.h" |
#include "ui/base/ui_base_paths.h" |
@@ -67,6 +68,9 @@ bool ShellMainDelegate::DelaySandboxInitialization( |
#elif defined(OS_POSIX) |
content::ZygoteForkDelegate* ShellMainDelegate::ZygoteStarting() { |
+ FilePath media_path; |
jam
2012/02/03 00:49:44
in general, we want embedders to have to do as lea
vrk (LEFT CHROMIUM)
2012/03/06 02:07:50
Done.
|
+ if (PathService::Get(base::DIR_MODULE, &media_path)) |
+ media::InitializeMediaLibrary(media_path); |
return NULL; |
} |