Index: third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h |
diff --git a/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h b/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h |
index 800fe2bb2b71cc703a83c07701df7c80ac3aecbd..f9c754d7c19d4df3ecb23ab1ddd96287c179e495 100644 |
--- a/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h |
+++ b/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h |
@@ -64,7 +64,7 @@ public: |
private: |
static void updatePaintOffsetIfNeeded(DisplayItemList* displayItemList, const LayoutObject& layoutObject, const LayoutPoint& paintOffset) |
{ |
- if (!RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled()) |
+ if (!RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled() || displayItemList->skippingCache()) |
return; |
if (layoutObject.paintOffsetChanged(paintOffset)) |