From 66f25e1d8c97a209dd0bf0ed8669575d355265f6 Mon Sep 17 00:00:00 2001 From: bokan Date: Thu, 18 Dec 2014 14:33:06 -0800 Subject: [PATCH] Enable virtual viewport on all platforms. This turns on virtual viewport on Windows, Linux and Mac BUG=438064 Review URL: https://codereview.chromium.org/795513003 Cr-Commit-Position: refs/heads/master@{#309091} --- content/browser/gpu/compositor_util.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc index 523019df32b3..802b4507729d 100644 --- a/content/browser/gpu/compositor_util.cc +++ b/content/browser/gpu/compositor_util.cc @@ -174,11 +174,7 @@ bool IsPinchVirtualViewportEnabled() { if (command_line.HasSwitch(cc::switches::kEnablePinchVirtualViewport)) return true; -#if defined(OS_CHROMEOS) || defined(OS_ANDROID) return true; -#else - return false; -#endif } bool IsDelegatedRendererEnabled() { -- 2.11.4.GIT