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

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

Issue 2176303002: services/ui: Remove deprecated gpu code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot-merge Created 4 years, 5 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_data_manager_impl_private.cc
diff --git a/content/browser/gpu/gpu_data_manager_impl_private.cc b/content/browser/gpu/gpu_data_manager_impl_private.cc
index bd57527f6aa6911504acc3fd461ad962fc0deb5d..0b58845516d5114d29375952d9d8ed85792b8c65 100644
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
@@ -266,11 +266,6 @@ enum BlockStatusHistogram {
};
bool ShouldDisableHardwareAcceleration() {
-#if defined(MOJO_SHELL_CLIENT) && defined(USE_AURA)
- // TODO(rjkroege): Remove this when https://crbug.com/602519 is fixed.
- if (shell::ShellIsRemote() && !ui::GpuService::UseChromeGpuCommandBuffer())
- return true;
-#endif
return base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableGpu);
}

Powered by Google App Engine
This is Rietveld 408576698