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

Unified Diff: chrome/browser/browser_main.cc

Issue 7054005: Fix gpu acceleration with --in-process-gpu (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: cleanup Created 9 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | content/browser/gpu/gpu_thread_host.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main.cc
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index 6148e0c553444f458564ba16b6ffa6cd28d2f1c1..023fcb54c34749e2608ca3aa05d5b7f11b872437 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -733,6 +733,9 @@ void CreateChildThreads(BrowserProcessImpl* process) {
process->file_thread();
process->process_launcher_thread();
process->cache_thread();
+ if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess) ||
+ CommandLine::ForCurrentProcess()->HasSwitch(switches::kInProcessGPU))
+ process->gpu_thread();
process->io_thread();
#if defined(OS_CHROMEOS)
process->web_socket_proxy_thread();
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | content/browser/gpu/gpu_thread_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698