summaryrefslogtreecommitdiffstats
path: root/content/browser/gpu/compositor_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/gpu/compositor_util.cc')
-rw-r--r--content/browser/gpu/compositor_util.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
index c75571b..9606eb5 100644
--- a/content/browser/gpu/compositor_util.cc
+++ b/content/browser/gpu/compositor_util.cc
@@ -301,8 +301,10 @@ bool IsThreadedGpuRasterizationEnabled() {
if (command_line.HasSwitch(switches::kDisableThreadedGpuRasterization))
return false;
+ if (command_line.HasSwitch(switches::kEnableThreadedGpuRasterization))
+ return true;
- return true;
+ return false;
}
bool UseSurfacesEnabled() {