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 553bddf54e6aea3247b268de21cc88bcd5a344a9..0179beafc60a73b21b496f4256f69c169a888a61 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -211,8 +211,6 @@ |
#include "content/common/media/media_stream_messages.h" |
#endif |
-extern bool g_exited_main_message_loop; |
- |
namespace content { |
namespace { |
@@ -517,7 +515,7 @@ RenderProcessHostImpl::RenderProcessHostImpl( |
ChildProcessSecurityPolicyImpl::GetInstance()->Add(GetID()); |
- CHECK(!g_exited_main_message_loop); |
+ CHECK(!BrowserMainRunner::ExitedMainMessageLoop()); |
RegisterHost(GetID(), this); |
g_all_hosts.Get().set_check_on_null_data(true); |
// Initialize |child_process_activity_time_| to a reasonable value. |