Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 015317996270e81c314c9731b00f44d4c33f1059..de2a993a2567952a5dd7940375ba8c6f6c94c6a0 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -39,7 +39,6 @@ |
#include "content/browser/net/browser_online_state_observer.h" |
#include "content/browser/plugin_service_impl.h" |
#include "content/browser/renderer_host/media/media_stream_manager.h" |
-#include "content/browser/renderer_host/render_process_host_impl.h" |
#include "content/browser/speech/speech_recognition_manager_impl.h" |
#include "content/browser/startup_task_runner.h" |
#include "content/browser/webui/content_web_ui_controller_factory.h" |
@@ -70,6 +69,10 @@ |
#include "ui/aura/env.h" |
#endif |
+#if !defined(OS_IOS) |
+#include "content/browser/renderer_host/render_process_host_impl.h" |
+#endif |
+ |
#if defined(OS_ANDROID) |
#include "base/android/jni_android.h" |
#include "content/browser/android/browser_startup_controller.h" |
@@ -718,8 +721,10 @@ void BrowserMainLoop::ShutdownThreadsAndCleanUp() { |
base::Bind(base::IgnoreResult(&base::ThreadRestrictions::SetIOAllowed), |
true)); |
+#if !defined(OS_IOS) |
if (RenderProcessHost::run_renderer_in_process()) |
RenderProcessHostImpl::ShutDownInProcessRenderer(); |
+#endif |
if (parts_) { |
TRACE_EVENT0("shutdown", |