Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h |
index a2cd30d9fd199a600adeb930b8ecaa42dfdf41c1..af05109c206e37b8cf16043b30d50132c1d61cf8 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h |
@@ -30,9 +30,7 @@ class LayoutSVGBlock : public LayoutBlockFlow { |
public: |
explicit LayoutSVGBlock(SVGElement*); |
- LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const final; |
- |
- void mapLocalToAncestor(const LayoutBoxModelObject* ancestor, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = nullptr, const PaintInvalidationState* = nullptr) const final; |
+ void mapLocalToAncestor(const LayoutBoxModelObject* ancestor, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = nullptr) const final; |
void mapAncestorToLocal(const LayoutBoxModelObject* ancestor, TransformState&, MapCoordinatesFlags = ApplyContainerFlip) const final; |
const LayoutObject* pushMappingToContainer(const LayoutBoxModelObject* ancestorToStopAt, LayoutGeometryMap&) const final; |
@@ -44,12 +42,17 @@ public: |
protected: |
void willBeDestroyed() override; |
- void mapToVisibleRectInAncestorSpace(const LayoutBoxModelObject* ancestor, LayoutRect&, const PaintInvalidationState*) const final; |
+ void mapToVisibleRectInAncestorSpace(const LayoutBoxModelObject* ancestor, LayoutRect&) const final; |
AffineTransform m_localTransform; |
bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVG || LayoutBlockFlow::isOfType(type); } |
private: |
+ // This method should never be called. Should use paintInvalidationRectInLocalSVGCoordinates(). |
+ using LayoutObject::localOverflowRectForPaintInvalidation; |
+ |
+ LayoutRect absoluteClippedOverflowRect() const final; |
+ |
bool allowsOverflowClip() const final; |
void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const final; |