Index: Source/core/layout/svg/LayoutSVGRect.h |
diff --git a/Source/core/layout/svg/LayoutSVGRect.h b/Source/core/layout/svg/LayoutSVGRect.h |
index 184aea0a717e24c43b205af5962812bb3910e8b1..ce263f52ad69bd0e5b40ec9e1bfed56e531dfc3f 100644 |
--- a/Source/core/layout/svg/LayoutSVGRect.h |
+++ b/Source/core/layout/svg/LayoutSVGRect.h |
@@ -42,11 +42,13 @@ public: |
virtual const char* name() const override { return "LayoutSVGRect"; } |
private: |
- virtual void updateShapeFromElement() override; |
+ void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; |
+ void updateShapeFromElement() override; |
+ void updateStrokeAndFillBoundingBoxes() override; |
virtual bool isShapeEmpty() const override { return m_usePathFallback ? LayoutSVGShape::isShapeEmpty() : m_fillBoundingBox.isEmpty(); } |
virtual bool shapeDependentStrokeContains(const FloatPoint&) override; |
virtual bool shapeDependentFillContains(const FloatPoint&, const WindRule) const override; |
- bool definitelyHasSimpleStroke() const; |
+ bool definitelyHasSimpleStroke(const SVGComputedStyle&) const; |
private: |
bool m_usePathFallback; |