| Index: Source/core/svg/SVGPathElement.cpp
|
| diff --git a/Source/core/svg/SVGPathElement.cpp b/Source/core/svg/SVGPathElement.cpp
|
| index f7dbe1c98b738b6496937d916d83d5d5070bb214..e2f2b8b8671183de70850a8f0ec48d07add218e2 100644
|
| --- a/Source/core/svg/SVGPathElement.cpp
|
| +++ b/Source/core/svg/SVGPathElement.cpp
|
| @@ -218,7 +218,7 @@ void SVGPathElement::svgAttributeChanged(const QualifiedName& attrName)
|
|
|
| SVGElement::InvalidationGuard invalidationGuard(this);
|
|
|
| - LayoutSVGShape* renderer = toLayoutSVGShape(this->renderer());
|
| + LayoutSVGShape* renderer = toLayoutSVGShape(this->layoutObject());
|
|
|
| if (attrName == SVGNames::dAttr) {
|
| if (renderer)
|
| @@ -262,7 +262,7 @@ void SVGPathElement::pathSegListChanged(ListModification listModification)
|
|
|
| invalidateSVGAttributes();
|
|
|
| - LayoutSVGShape* renderer = toLayoutSVGShape(this->renderer());
|
| + LayoutSVGShape* renderer = toLayoutSVGShape(this->layoutObject());
|
| if (!renderer)
|
| return;
|
|
|
| @@ -278,10 +278,10 @@ FloatRect SVGPathElement::getBBox()
|
| document().updateLayoutIgnorePendingStylesheets();
|
|
|
| // FIXME: Eventually we should support getBBox for detached elements.
|
| - if (!renderer())
|
| + if (!layoutObject())
|
| return FloatRect();
|
|
|
| - LayoutSVGShape* renderer = toLayoutSVGShape(this->renderer());
|
| + LayoutSVGShape* renderer = toLayoutSVGShape(this->layoutObject());
|
| return renderer->path().boundingRect();
|
| }
|
|
|
|
|