Index: content/browser/gpu/compositor_util.cc |
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc |
index a9c3318c86b611e63b712756df9046a5c960d565..209640745f080a59868a5e8a75411b08593a8c44 100644 |
--- a/content/browser/gpu/compositor_util.cc |
+++ b/content/browser/gpu/compositor_util.cc |
@@ -205,11 +205,10 @@ bool IsImplSidePaintingEnabled() { |
else if (command_line.HasSwitch(switches::kEnableImplSidePainting)) |
return true; |
-#if defined(OS_ANDROID) |
+ if (!IsThreadedCompositingEnabled()) |
+ return false; |
+ |
return true; |
abarth-chromium
2014/04/25 23:04:56
Drive-by:
return IsThreadedCompositingEnabled();
reveman
2014/04/25 23:46:06
Done :)
|
-#else |
- return false; |
-#endif |
} |
bool IsGpuRasterizationEnabled() { |