summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RenderSVGGradientStop.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/RenderSVGGradientStop.h')
-rw-r--r--WebCore/rendering/RenderSVGGradientStop.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/WebCore/rendering/RenderSVGGradientStop.h b/WebCore/rendering/RenderSVGGradientStop.h
index 86de6d0..7b7df5c 100644
--- a/WebCore/rendering/RenderSVGGradientStop.h
+++ b/WebCore/rendering/RenderSVGGradientStop.h
@@ -41,14 +41,13 @@ namespace WebCore {
virtual void layout();
- // This override is needed to prevent crashing on <svg><stop /></svg>
- // RenderObject's default impl asks the parent Object and RenderSVGRoot
- // asks all child RenderObjects for overflow rects, thus infinite loop.
+ // This override is needed to prevent an assert on <svg><stop /></svg>
+ // RenderObject's default impl asserts.
// https://bugs.webkit.org/show_bug.cgi?id=20400
- virtual IntRect absoluteClippedOverflowRect() { return IntRect(); }
+ virtual IntRect clippedOverflowRectForRepaint(RenderBoxModelObject*) { return IntRect(); }
protected:
- virtual void styleDidChange(RenderStyle::Diff, const RenderStyle* oldStyle);
+ virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
private:
SVGGradientElement* gradientElement() const;