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

Unified Diff: content/browser/gpu/compositor_util.cc

Issue 2261893003: Remove GpuInfo::can_lose_context. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/compositor_util.cc
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
index de6f1ffea11caef7b8d0289c0663b0161f4de991..8631b5ce70e7a4a3406059d7f768346293c8194b 100644
--- a/content/browser/gpu/compositor_util.cc
+++ b/content/browser/gpu/compositor_util.cc
@@ -70,10 +70,7 @@ const GpuFeatureInfo GetGpuFeatureInfo(size_t index, bool* eof) {
const GpuFeatureInfo kGpuFeatureInfo[] = {
{"2d_canvas",
manager->IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS),
- command_line.HasSwitch(switches::kDisableAccelerated2dCanvas) ||
- !GpuDataManagerImpl::GetInstance()
- ->GetGPUInfo()
- .SupportsAccelerated2dCanvas(),
+ command_line.HasSwitch(switches::kDisableAccelerated2dCanvas),
"Accelerated 2D canvas is unavailable: either disabled via blacklist or"
" the command line.",
true},
« no previous file with comments | « chrome/browser/gpu/gpu_driver_info_manager_android.cc ('k') | content/renderer/renderer_blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698