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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerPainter.h

Issue 2194273002: Fix border radius on composited children. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Now working on basic test cases Created 4 years, 1 month 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/PaintLayerPainter.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.h b/third_party/WebKit/Source/core/paint/PaintLayerPainter.h
index a0520c9d0e0684851ea6d053271d6f596f69c708..397d28e4cf23a2703b3316c75d77f78065bb45c4 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.h
@@ -128,6 +128,11 @@ class CORE_EXPORT PaintLayerPainter {
bool shouldPaintLayerInSoftwareMode(const GlobalPaintFlags,
PaintLayerFlags paintFlags);
+ // Convert a fragmentOffset from the coordinate system of this painter's
+ // layer to the coordinate system of the layer in which it's border radius
+ // clip rect is defined, for painting composited children using mask layers.
+ LayoutPoint fragmentOffsetForAncestorClipMask(const LayoutPoint&);
+
PaintLayer& m_paintLayer;
};

Powered by Google App Engine
This is Rietveld 408576698