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

Unified Diff: content/browser/compositor/gpu_process_transport_factory.cc

Issue 2176303002: services/ui: Remove deprecated gpu code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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/compositor/gpu_process_transport_factory.cc
diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
index 1827ba8e32b78a4ab0275d5bd0b2b2a916bda4f8..e2abce4debd9db6b090e1d9cbab45862beb38d32 100644
--- a/content/browser/compositor/gpu_process_transport_factory.cc
+++ b/content/browser/compositor/gpu_process_transport_factory.cc
@@ -270,11 +270,6 @@ CreateOverlayCandidateValidator(gfx::AcceleratedWidget widget) {
}
static bool ShouldCreateGpuOutputSurface(ui::Compositor* compositor) {
-#if defined(MOJO_RUNNER_CLIENT)
- if (shell::ShellIsRemote() && !ui::GpuService::UseChromeGpuCommandBuffer())
- return false;
-#endif
-
#if defined(OS_CHROMEOS)
// Software fallback does not happen on Chrome OS.
return true;
« no previous file with comments | « no previous file | content/browser/compositor/mus_browser_compositor_output_surface.cc » ('j') | services/ui/service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698