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

Unified Diff: chrome/browser/gpu_feature_checker.cc

Issue 10891013: Make GpuDataManager thread safe. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
Index: chrome/browser/gpu_feature_checker.cc
===================================================================
--- chrome/browser/gpu_feature_checker.cc (revision 153783)
+++ chrome/browser/gpu_feature_checker.cc (working copy)
@@ -18,7 +18,7 @@
if (!manager->GpuAccessAllowed()) {
feature_allowed = false;
} else {
- uint32 blacklist_type = manager->GetGpuFeatureType();
+ uint32 blacklist_type = manager->GetBlacklistedFeatures();
if (blacklist_type & feature)
feature_allowed = false;
}
@@ -48,7 +48,7 @@
#endif
content::GpuDataManager* manager = content::GpuDataManager::GetInstance();
- if (manager->IsCompleteGPUInfoAvailable())
+ if (manager->IsCompleteGpuInfoAvailable())
finalized = true;
bool feature_allowed = IsFeatureAllowed(manager, feature_);

Powered by Google App Engine
This is Rietveld 408576698