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

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

Issue 2194273002: Fix border radius on composited children. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revised method based on PaintLayer switching 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/FilterPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/FilterPainter.cpp b/third_party/WebKit/Source/core/paint/FilterPainter.cpp
index 6f7d9e4c640af8e7fbe0576f3a4b1f03693cc350..82dfb001848d78f73e8361afa7399919132bb51c 100644
--- a/third_party/WebKit/Source/core/paint/FilterPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/FilterPainter.cpp
@@ -53,10 +53,11 @@ FilterPainter::FilterPainter(PaintLayer& layer,
DCHECK(m_layoutObject);
- if (clipRect.rect() != paintingInfo.paintDirtyRect || clipRect.hasRadius())
+ if (clipRect.rect() != paintingInfo.paintDirtyRect || clipRect.hasRadius()) {
m_clipRecorder = wrapUnique(new LayerClipRecorder(
context, *layer.layoutObject(), DisplayItem::kClipLayerFilter, clipRect,
- &paintingInfo, LayoutPoint(), paintFlags));
+ paintingInfo.rootLayer, LayoutPoint(), paintFlags));
+ }
if (!context.getPaintController().displayItemConstructionIsDisabled()) {
CompositorFilterOperations compositorFilterOperations =

Powered by Google App Engine
This is Rietveld 408576698