Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 11066087: Upstream BrowserChildProcessHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698