| 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 6fb4d00503c95a3e3e81f60365c7ba4c0bf1844b..349780c335a9487c4aae75b9ad3e64b4c269c38d 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| @@ -1897,11 +1897,7 @@ bool PaintLayerScrollableArea::ComputeNeedsCompositedScrolling(
|
| // layer->layoutObject().style()->hasBorderDecoration() (missing background
|
| // behind dashed borders). Resolve this case, or not, and update this check
|
| // with the results.
|
| - if (layer->GetLayoutObject().Style()->HasBorderRadius()) {
|
| - non_composited_main_thread_scrolling_reasons_ |=
|
| - MainThreadScrollingReason::kHasBorderRadius;
|
| - needs_composited_scrolling = false;
|
| - }
|
| +
|
| if (layer->GetLayoutObject().HasClip() ||
|
| layer->HasDescendantWithClipPath() || layer->HasAncestorWithClipPath()) {
|
| non_composited_main_thread_scrolling_reasons_ |=
|
|
|