Chromium Code Reviews| Index: content/browser/renderer_host/render_process_host_impl.cc |
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
| index 96d6379ea1c7a0f20816fdab90f1694c949077b0..e8416d605f026809c0e52aa380d03ced2cc3bab6 100644 |
| --- a/content/browser/renderer_host/render_process_host_impl.cc |
| +++ b/content/browser/renderer_host/render_process_host_impl.cc |
| @@ -123,6 +123,10 @@ |
| #include "content/common/font_cache_dispatcher_win.h" |
| #endif |
| +#if defined(OS_ANDROID) |
| +#include "content/browser/browser_child_process_host_impl.h" |
| +#endif |
| + |
| #include "third_party/skia/include/core/SkBitmap.h" |
| extern bool g_exited_main_message_loop; |
| @@ -505,6 +509,12 @@ bool RenderProcessHostImpl::Init() { |
| AppendRendererCommandLine(cmd_line); |
| cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id); |
| + base::EnvironmentVector env; |
|
Yaron
2012/10/09 21:38:53
This is unnecessary.
Yusuf
2012/10/10 00:06:08
Done.
|
| + |
| +#if defined(OS_ANDROID) |
| + BrowserChildProcessHostImpl::AppendCommonChildCommandLine(cmd_line); |
| +#endif |
| + |
| // Spawn the child process asynchronously to avoid blocking the UI thread. |
| // As long as there's no renderer prefix, we can use the zygote process |
| // at this stage. |