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

Unified Diff: content/browser/web_contents/web_contents_impl.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: content/browser/web_contents/web_contents_impl.cc
===================================================================
--- content/browser/web_contents/web_contents_impl.cc (revision 153783)
+++ content/browser/web_contents/web_contents_impl.cc (working copy)
@@ -554,7 +554,7 @@
{ // Certain GPU features might have been blacklisted.
GpuDataManagerImpl* gpu_data_manager = GpuDataManagerImpl::GetInstance();
DCHECK(gpu_data_manager);
- uint32 blacklist_type = gpu_data_manager->GetGpuFeatureType();
+ uint32 blacklist_type = gpu_data_manager->GetBlacklistedFeatures();
if (blacklist_type & content::GPU_FEATURE_TYPE_ACCELERATED_COMPOSITING)
prefs.accelerated_compositing_enabled = false;
if (blacklist_type & content::GPU_FEATURE_TYPE_WEBGL)

Powered by Google App Engine
This is Rietveld 408576698