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; |
}; |