Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6894)

Unified Diff: Source/core/svg/SVGPathElement.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGMaskElement.cpp ('k') | Source/core/svg/SVGPatternElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « Source/core/svg/SVGMaskElement.cpp ('k') | Source/core/svg/SVGPatternElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698