Index: content/app/content_main_runner.cc |
=================================================================== |
--- content/app/content_main_runner.cc (revision 210625) |
+++ content/app/content_main_runner.cc (working copy) |
@@ -307,7 +307,11 @@ |
content_client->renderer_ = delegate->CreateContentRendererClient(); |
if (!content_client->renderer_) |
content_client->renderer_ = &g_empty_content_renderer_client.Get(); |
- } else if (process_type == switches::kUtilityProcess) { |
+ } |
+ |
+ if (process_type == switches::kUtilityProcess || |
+ CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kSingleProcess)) { |
if (delegate) |
content_client->utility_ = delegate->CreateContentUtilityClient(); |
// TODO(scottmg): http://crbug.com/237249 Should be in _child. |