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

Unified Diff: content/browser/gpu/gpu_data_manager.cc

Issue 8680039: Move preliminary gpu 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_data_manager.cc
===================================================================
--- content/browser/gpu/gpu_data_manager.cc (revision 111448)
+++ content/browser/gpu/gpu_data_manager.cc (working copy)
@@ -205,12 +205,7 @@
// User flags need to be collected before any further initialization.
user_flags_.Initialize();
- // Certain tests doesn't go through the browser startup path that
- // initializes GpuDataManager on FILE thread; therefore, it is initialized
- // on UI thread later, and we skip the preliminary gpu info collection
- // in such situation.
- if (!user_flags_.skip_gpu_data_loading() &&
- BrowserThread::CurrentlyOn(BrowserThread::FILE)) {
+ if (!user_flags_.skip_gpu_data_loading()) {
content::GPUInfo gpu_info;
gpu_info_collector::CollectPreliminaryGraphicsInfo(&gpu_info);
UpdateGpuInfo(gpu_info);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698