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

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

Issue 1313533003: Fix some extern usage in .cc files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 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.

Powered by Google App Engine
This is Rietveld 408576698