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 faa50296156e9ab2497bccf604cd63d4e8345877..e046b9ec76cb46e99edfa1ef52bb7b7ab1711dd6 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp |
@@ -14,7 +14,7 @@ namespace blink { |
bool SubsequenceRecorder::useCachedSubsequenceIfPossible(GraphicsContext& context, const DisplayItemClient& client) |
{ |
- if (context.paintController().displayItemConstructionIsDisabled()) |
+ if (context.paintController().displayItemConstructionIsDisabled() || context.paintController().subsequenceCachingIsDisabled()) |
return false; |
if (!context.paintController().clientCacheIsValid(client)) |