Index: third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp |
index 62524cf6f040050f3bf72564f15f2a70461e7e1f..2a498c4a6ecb71dee360ed031ff71f88240f8f02 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp |
@@ -17,7 +17,7 @@ bool SubsequenceRecorder::useCachedSubsequenceIfPossible(GraphicsContext& contex |
if (!RuntimeEnabledFeatures::slimmingPaintSynchronizedPaintingEnabled()) |
return false; |
- if (context.paintController().displayItemConstructionIsDisabled()) |
+ if (context.paintController().displayItemConstructionIsDisabled() || context.paintController().subsequenceCachingIsDisabled()) |
return false; |
if (!context.paintController().clientCacheIsValid(client)) |