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

Unified Diff: chrome/browser/gpu_blacklist.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_blacklist.cc
===================================================================
--- chrome/browser/gpu_blacklist.cc (revision 153783)
+++ chrome/browser/gpu_blacklist.cc (working copy)
@@ -1053,7 +1053,8 @@
void GpuBlacklist::UpdateGpuDataManager() {
content::GpuFeatureType feature_type = DetermineGpuFeatureType(
GpuBlacklist::kOsAny, NULL, GpuDataManager::GetInstance()->GetGPUInfo());
- GpuDataManager::GetInstance()->SetGpuFeatureType(feature_type);
+ GpuDataManager::GetInstance()->SetPreliminaryBlacklistedFeatures(
+ feature_type);
gpu_util::UpdateStats();
}

Powered by Google App Engine
This is Rietveld 408576698