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

Unified Diff: Source/core/svg/SVGMarkerElement.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/svg/SVGMarkerElement.cpp
diff --git a/Source/core/svg/SVGMarkerElement.cpp b/Source/core/svg/SVGMarkerElement.cpp
index 43b074ffa2ff1be0da0a36df32c3bdf60a91cae5..1f2efeb9708e66a0da848aac5f7341a14ac4b1d3 100644
--- a/Source/core/svg/SVGMarkerElement.cpp
+++ b/Source/core/svg/SVGMarkerElement.cpp
@@ -104,7 +104,7 @@ const AtomicString& SVGMarkerElement::orientAngleIdentifier()
AffineTransform SVGMarkerElement::viewBoxToViewTransform(float viewWidth, float viewHeight) const
{
- return SVGFitToViewBox::viewBoxToViewTransform(viewBox(), preserveAspectRatio(), viewWidth, viewHeight);
+ return SVGFitToViewBox::viewBoxToViewTransform(viewBoxCurrentValue(), preserveAspectRatioCurrentValue(), viewWidth, viewHeight);
}
bool SVGMarkerElement::isSupportedAttribute(const QualifiedName& attrName)
@@ -217,10 +217,10 @@ RenderObject* SVGMarkerElement::createRenderer(RenderStyle*)
bool SVGMarkerElement::selfHasRelativeLengths() const
{
- return refX().isRelative()
- || refY().isRelative()
- || markerWidth().isRelative()
- || markerHeight().isRelative();
+ return refXCurrentValue().isRelative()
+ || refYCurrentValue().isRelative()
+ || markerWidthCurrentValue().isRelative()
+ || markerHeightCurrentValue().isRelative();
}
void SVGMarkerElement::synchronizeOrientType(SVGElement* contextElement)
@@ -246,7 +246,7 @@ PassRefPtr<SVGAnimatedProperty> SVGMarkerElement::lookupOrCreateOrientTypeWrappe
(ownerType, orientTypePropertyInfo(), ownerType->m_orientType.value);
}
-PassRefPtr<SVGAnimatedEnumerationPropertyTearOff<SVGMarkerOrientType> > SVGMarkerElement::orientTypeAnimated()
+PassRefPtr<SVGAnimatedEnumerationPropertyTearOff<SVGMarkerOrientType> > SVGMarkerElement::orientType()
{
m_orientType.shouldSynchronize = true;
return static_pointer_cast<SVGAnimatedEnumerationPropertyTearOff<SVGMarkerOrientType> >(lookupOrCreateOrientTypeWrapper(this));

Powered by Google App Engine
This is Rietveld 408576698