Index: content/browser/gpu/compositor_util.cc |
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc |
index 9606eb56756506d28b3b9df1bf77fabe5f3cd933..5223a9cdea72761987e94f6ee0a89f850bc79bd0 100644 |
--- a/content/browser/gpu/compositor_util.cc |
+++ b/content/browser/gpu/compositor_util.cc |
@@ -295,6 +295,8 @@ bool IsForceGpuRasterizationEnabled() { |
bool IsThreadedGpuRasterizationEnabled() { |
if (!IsImplSidePaintingEnabled()) |
return false; |
+ if (!IsGpuRasterizationEnabled() && !IsForceGpuRasterizationEnabled()) |
+ return false; |
const base::CommandLine& command_line = |
*base::CommandLine::ForCurrentProcess(); |