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

Unified Diff: chrome/browser/component_updater/swiftshader_component_installer.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/component_updater/swiftshader_component_installer.cc
===================================================================
--- chrome/browser/component_updater/swiftshader_component_installer.cc (revision 153783)
+++ chrome/browser/component_updater/swiftshader_component_installer.cc (working copy)
@@ -181,7 +181,7 @@
GpuDataManager *gpu_data_manager = GpuDataManager::GetInstance();
if (!gpu_data_manager->GpuAccessAllowed() ||
- (gpu_data_manager->GetGpuFeatureType() &
+ (gpu_data_manager->GetBlacklistedFeatures() &
content::GPU_FEATURE_TYPE_WEBGL) ||
gpu_data_manager->ShouldUseSoftwareRendering()) {
gpu_data_manager->RemoveObserver(this);

Powered by Google App Engine
This is Rietveld 408576698