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

Unified Diff: Source/core/rendering/svg/RenderSVGEllipse.cpp

Issue 19097005: Remove one SVG animated type special case from the bindings generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix the regressions Created 7 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
Index: Source/core/rendering/svg/RenderSVGEllipse.cpp
diff --git a/Source/core/rendering/svg/RenderSVGEllipse.cpp b/Source/core/rendering/svg/RenderSVGEllipse.cpp
index be5ea3fd3c383084d5ee1cddf5ee9e8df75515ab..3c559f6b6da8293c8026da28ff376da45ed20377 100644
--- a/Source/core/rendering/svg/RenderSVGEllipse.cpp
+++ b/Source/core/rendering/svg/RenderSVGEllipse.cpp
@@ -81,9 +81,9 @@ void RenderSVGEllipse::calculateRadiiAndCenter()
SVGCircleElement* circle = static_cast<SVGCircleElement*>(node());
SVGLengthContext lengthContext(circle);
- float radius = circle->r().value(lengthContext);
+ float radius = circle->rCurrentValue().value(lengthContext);
m_radii = FloatSize(radius, radius);
- m_center = FloatPoint(circle->cx().value(lengthContext), circle->cy().value(lengthContext));
+ m_center = FloatPoint(circle->cxCurrentValue().value(lengthContext), circle->cyCurrentValue().value(lengthContext));
return;
}
@@ -91,8 +91,8 @@ void RenderSVGEllipse::calculateRadiiAndCenter()
SVGEllipseElement* ellipse = static_cast<SVGEllipseElement*>(node());
SVGLengthContext lengthContext(ellipse);
- m_radii = FloatSize(ellipse->rx().value(lengthContext), ellipse->ry().value(lengthContext));
- m_center = FloatPoint(ellipse->cx().value(lengthContext), ellipse->cy().value(lengthContext));
+ m_radii = FloatSize(ellipse->rxCurrentValue().value(lengthContext), ellipse->ryCurrentValue().value(lengthContext));
+ m_center = FloatPoint(ellipse->cxCurrentValue().value(lengthContext), ellipse->cyCurrentValue().value(lengthContext));
}
void RenderSVGEllipse::fillShape(GraphicsContext* context) const

Powered by Google App Engine
This is Rietveld 408576698