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

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

Issue 2194273002: Fix border radius on composited children. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switch to using the layer's offsetFromLayoutObject Created 4 years 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/LayerClipRecorder.cpp
diff --git a/third_party/WebKit/Source/core/paint/LayerClipRecorder.cpp b/third_party/WebKit/Source/core/paint/LayerClipRecorder.cpp
index bd8878a302b1dba1b02acd1c370850ad6cce395d..7169af4fbc27b7660b2dbd41fd040aeb95af51c9 100644
--- a/third_party/WebKit/Source/core/paint/LayerClipRecorder.cpp
+++ b/third_party/WebKit/Source/core/paint/LayerClipRecorder.cpp
@@ -79,7 +79,8 @@ void LayerClipRecorder::collectRoundedRectClips(
// is properly clipped so that it can in turn clip the scrolled contents in
// the compositor.
if (layer->needsCompositedScrolling() &&
- !(paintFlags & PaintLayerPaintingChildClippingMaskPhase))
+ !(paintFlags & PaintLayerPaintingChildClippingMaskPhase ||
+ paintFlags & PaintLayerPaintingAncestorClippingMaskPhase))
break;
if (layer->layoutObject()->hasOverflowClip() &&

Powered by Google App Engine
This is Rietveld 408576698