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

Unified Diff: services/ui/common/gpu_service.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
« no previous file with comments | « services/ui/common/gpu_service.h ('k') | services/ui/common/switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/common/gpu_service.cc
diff --git a/services/ui/common/gpu_service.cc b/services/ui/common/gpu_service.cc
index 955035a5aecc99aeece3c1b6e61409b49a0a18c7..f8bf9e79e0939d11ced35b5e1313616fe85c0011 100644
--- a/services/ui/common/gpu_service.cc
+++ b/services/ui/common/gpu_service.cc
@@ -52,18 +52,6 @@ GpuService::~GpuService() {
}
// static
-bool GpuService::UseChromeGpuCommandBuffer() {
-// TODO(penghuang): Kludge: Running with Chrome GPU command buffer by default
-// breaks unit tests on Windows
-#if defined(OS_WIN)
- return false;
-#else
- return !base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kUseMojoGpuCommandBufferInMus);
-#endif
-}
-
-// static
void GpuService::Initialize(shell::Connector* connector) {
DCHECK(!g_gpu_service);
g_gpu_service = new GpuService(connector);
« no previous file with comments | « services/ui/common/gpu_service.h ('k') | services/ui/common/switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698