Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(590)

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp

Issue 2859483006: cc: Enable composited border-radius scrolling.
Patch Set: test-rebaseline Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 48713d5de1174a46186995a4c628f24dacb4f531..69660301eabf2bb9d2d05413ad109680965924a5 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
@@ -1921,11 +1921,6 @@ 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_ |=

Powered by Google App Engine
This is Rietveld 408576698