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

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

Issue 411743002: Remove isSVGPath (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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/rendering/svg/RenderSVGPath.h ('k') | no next file » | 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 e4d78bf7ae66c79f8576371fa92ab82aacc94585..545c6431a888db91728fcb2d37f0e47e12b4cdc9 100644
--- a/Source/core/svg/SVGPathElement.cpp
+++ b/Source/core/svg/SVGPathElement.cpp
@@ -219,7 +219,7 @@ void SVGPathElement::svgAttributeChanged(const QualifiedName& attrName)
SVGElement::InvalidationGuard invalidationGuard(this);
- RenderSVGPath* renderer = toRenderSVGPath(this->renderer());
+ RenderSVGShape* renderer = toRenderSVGShape(this->renderer());
if (attrName == SVGNames::dAttr) {
if (renderer)
@@ -264,7 +264,7 @@ void SVGPathElement::pathSegListChanged(ListModification listModification)
invalidateSVGAttributes();
- RenderSVGPath* renderer = toRenderSVGPath(this->renderer());
+ RenderSVGShape* renderer = toRenderSVGShape(this->renderer());
if (!renderer)
return;
@@ -283,7 +283,7 @@ FloatRect SVGPathElement::getBBox()
if (!renderer())
return FloatRect();
- RenderSVGPath* renderer = toRenderSVGPath(this->renderer());
+ RenderSVGShape* renderer = toRenderSVGShape(this->renderer());
return renderer->path().boundingRect();
}
« no previous file with comments | « Source/core/rendering/svg/RenderSVGPath.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698