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

Unified Diff: chrome/browser/gpu_util.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_util.cc
===================================================================
--- chrome/browser/gpu_util.cc (revision 153783)
+++ chrome/browser/gpu_util.cc (working copy)
@@ -298,7 +298,7 @@
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
bool gpu_access_blocked = !GpuDataManager::GetInstance()->GpuAccessAllowed();
- uint32 flags = GpuDataManager::GetInstance()->GetGpuFeatureType();
+ uint32 flags = GpuDataManager::GetInstance()->GetBlacklistedFeatures();
DictionaryValue* status = new DictionaryValue();
const GpuFeatureInfo kGpuFeatureInfo[] = {
@@ -549,7 +549,7 @@
}
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
- uint32 flags = GpuDataManager::GetInstance()->GetGpuFeatureType();
+ uint32 flags = GpuDataManager::GetInstance()->GetBlacklistedFeatures();
bool disabled = false;
if (flags == 0) {
UMA_HISTOGRAM_ENUMERATION("GPU.BlacklistTestResultsPerEntry",

Powered by Google App Engine
This is Rietveld 408576698