Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
index bbb2640ffc9a99251b33a9ec563f03d235bea0c1..472a452424e766d496aee384610057d6b9796362 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
@@ -333,7 +333,10 @@ bool GraphicsLayer::paintWithoutCommit(const IntRect* interestRect, GraphicsCont |
} |
if (RuntimeEnabledFeatures::slimmingPaintSynchronizedPaintingEnabled() |
- && !m_client->needsRepaint() && !paintController().cacheIsEmpty() && m_previousInterestRect == *interestRect) { |
+ && !paintController().subsequenceCachingIsDisabled() |
+ && !m_client->needsRepaint() |
+ && !paintController().cacheIsEmpty() |
+ && m_previousInterestRect == *interestRect) { |
ASSERT(!paintController().hasInvalidations()); |
return false; |
} |