Chromium Code Reviews| 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 91ccdfadea0d11c8cf79f532bc64548baca3448e..6c137e5068521527868abb98d0484eef8c5978a6 100644 |
| --- a/content/browser/renderer_host/render_process_host_impl.cc |
| +++ b/content/browser/renderer_host/render_process_host_impl.cc |
| @@ -38,6 +38,7 @@ |
| #include "base/threading/thread.h" |
| #include "base/threading/thread_restrictions.h" |
| #include "base/tracked_objects.h" |
| +#include "chrome/common/chrome_switches.h" |
|
jam
2012/04/09 16:02:37
content can't include files from chrome, you'd see
asharif1
2012/04/09 23:26:35
Done.
|
| #include "content/browser/appcache/appcache_dispatcher_host.h" |
| #include "content/browser/appcache/chrome_appcache_service.h" |
| #include "content/browser/browser_main.h" |
| @@ -639,6 +640,10 @@ void RenderProcessHostImpl::AppendRendererCommandLine( |
| GpuDataManagerImpl* gpu_data_manager = GpuDataManagerImpl::GetInstance(); |
| DCHECK(gpu_data_manager); |
| gpu_data_manager->AppendRendererCommandLine(command_line); |
| + |
| + if (CommandLine::ForCurrentProcess()-> |
| + HasSwitch(switches::kEnableRendererCleanExit)) |
| + command_line->AppendSwitch(switches::kEnableRendererCleanExit); |
|
jam
2012/04/09 16:02:37
see the list a few lines down of switches to be co
asharif1
2012/04/09 23:26:35
Done.
|
| } |
| void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |