Index: third_party/WebKit/Source/core/paint/LayerClipRecorder.h |
diff --git a/third_party/WebKit/Source/core/paint/LayerClipRecorder.h b/third_party/WebKit/Source/core/paint/LayerClipRecorder.h |
index b8e3aca3abc84f52a5b7ad1f2b4daa84cbbc2d14..de0f6910f85d23c3bef99ed427ab0930c0b520a5 100644 |
--- a/third_party/WebKit/Source/core/paint/LayerClipRecorder.h |
+++ b/third_party/WebKit/Source/core/paint/LayerClipRecorder.h |
@@ -53,18 +53,25 @@ class CORE_EXPORT LayerClipRecorder { |
~LayerClipRecorder(); |
+ // Access to clip rects to support filling mask layers. |
+ const IntRect& snappedClipRect() const { return m_snappedClipRect; } |
+ const Vector<FloatRoundedRect>& roundedRects() const { |
+ return m_roundedRects; |
+ } |
+ |
private: |
void collectRoundedRectClips(PaintLayer&, |
const PaintLayerPaintingInfo& localPaintingInfo, |
GraphicsContext&, |
const LayoutPoint& fragmentOffset, |
PaintLayerFlags, |
- BorderRadiusClippingRule, |
- Vector<FloatRoundedRect>& roundedRectClips); |
+ BorderRadiusClippingRule); |
GraphicsContext& m_graphicsContext; |
const LayoutBoxModelObject& m_layoutObject; |
DisplayItem::Type m_clipType; |
+ IntRect m_snappedClipRect; |
+ Vector<FloatRoundedRect> m_roundedRects; |
}; |
} // namespace blink |