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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 8670004: Move GPU preliminary info collection back to UI thread. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/web_resource/gpu_blacklist_updater.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
===================================================================
--- chrome/browser/chrome_browser_main.cc (revision 111230)
+++ chrome/browser/chrome_browser_main.cc (working copy)
@@ -1863,11 +1863,8 @@
// ProfileKeyedServiceFactory::ServiceIsCreatedWithProfile() instead?
CloudPrintProxyServiceFactory::GetForProfile(profile_);
- // Initialize GpuDataManager and collect preliminary gpu info on FILE thread.
- // Upon completion, it posts GpuBlacklist auto update task on UI thread.
- BrowserThread::PostTask(
- BrowserThread::FILE, FROM_HERE,
- base::Bind(&GpuBlacklistUpdater::SetupOnFileThread));
+ // Initialize GpuDataManager and collect preliminary gpu info.
+ GpuBlacklistUpdater::Setup();
// Start watching all browser threads for responsiveness.
ThreadWatcherList::StartWatchingAll(parsed_command_line());
« no previous file with comments | « no previous file | chrome/browser/web_resource/gpu_blacklist_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698