| 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 678a3c6a3fc9429a63d73cf41db670a4b6aa1681..f55cd75e1d7d4ec557e9f990123c6471cceb7b7d 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| @@ -330,7 +330,10 @@ bool GraphicsLayer::paintWithoutCommit(const IntRect* interestRect, GraphicsCont
|
| interestRect = &newInterestRect;
|
| }
|
|
|
| - if (!m_client->needsRepaint() && !paintController().cacheIsEmpty() && m_previousInterestRect == *interestRect) {
|
| + if (!paintController().subsequenceCachingIsDisabled()
|
| + && !m_client->needsRepaint()
|
| + && !paintController().cacheIsEmpty()
|
| + && m_previousInterestRect == *interestRect) {
|
| ASSERT(!paintController().hasInvalidations());
|
| return false;
|
| }
|
|
|