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

Unified Diff: content/browser/gpu/gpu_process_host.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/gpu/gpu_process_host.cc
===================================================================
--- content/browser/gpu/gpu_process_host.cc (revision 153783)
+++ content/browser/gpu/gpu_process_host.cc (working copy)
@@ -267,7 +267,8 @@
GpuDataManagerImpl* gpu_data_manager = GpuDataManagerImpl::GetInstance();
if (gpu_data_manager != NULL &&
(!gpu_data_manager->GpuAccessAllowed() ||
- gpu_data_manager->GetGpuFeatureType() == content::GPU_FEATURE_TYPE_ALL))
+ gpu_data_manager->GetBlacklistedFeatures() ==
+ content::GPU_FEATURE_TYPE_ALL))
return NULL;
if (g_gpu_process_hosts[kind] && HostIsValid(g_gpu_process_hosts[kind]))

Powered by Google App Engine
This is Rietveld 408576698