| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| ===================================================================
|
| --- content/browser/renderer_host/render_process_host_impl.cc (revision 120325)
|
| +++ content/browser/renderer_host/render_process_host_impl.cc (working copy)
|
| @@ -121,6 +121,8 @@
|
| using content::UserMetricsAction;
|
| using content::WebUIControllerFactory;
|
|
|
| +extern bool g_exited_main_message_loop;
|
| +
|
| // This class creates the IO thread for the renderer when running in
|
| // single-process mode. It's not used in multi-process mode.
|
| class RendererMainThread : public base::Thread {
|
| @@ -315,7 +317,7 @@
|
| base::PLATFORM_FILE_CREATE | base::PLATFORM_FILE_CREATE_ALWAYS |
|
| base::PLATFORM_FILE_WRITE);
|
|
|
| - CHECK(!content::ExitedMainMessageLoop());
|
| + CHECK(!g_exited_main_message_loop);
|
| RegisterHost(GetID(), this);
|
| g_all_hosts.Get().set_check_on_null_data(true);
|
| // Initialize |child_process_activity_time_| to a reasonable value.
|
|
|