Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
index 02acdf83b4ad1f058f8df66434a0cd8dd5dce209..7a7d3894ed88097c3eff07c36ea5c819f6b11e88 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
@@ -1762,7 +1762,8 @@ bool PaintLayerScrollableArea::computeNeedsCompositedScrolling( |
// with the results. |
return !(layer->size().isEmpty() || layer->hasDescendantWithClipPath() || |
layer->hasAncestorWithClipPath() || |
- layer->layoutObject()->style()->hasBorderRadius()); |
+ layer->layoutObject()->style()->hasBorderRadius() || |
+ layer->layoutObject()->hasClip()); |
} |
void PaintLayerScrollableArea::addStyleRelatedMainThreadScrollingReasons( |