Index: third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
index 4e3aae139742e4e33ca6b82e181a63fb71e48d79..0091e379c49c51509fc433fdddcdec468b55db6e 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
@@ -53,10 +53,12 @@ inline SVGUseElement::SVGUseElement(Document& document) |
SVGURIReference(this), |
m_x(SVGAnimatedLength::create(this, |
SVGNames::xAttr, |
- SVGLength::create(SVGLengthMode::Width))), |
+ SVGLength::create(SVGLengthMode::Width), |
+ CSSPropertyX)), |
m_y(SVGAnimatedLength::create(this, |
SVGNames::yAttr, |
- SVGLength::create(SVGLengthMode::Height))), |
+ SVGLength::create(SVGLengthMode::Height), |
+ CSSPropertyY)), |
m_width( |
SVGAnimatedLength::create(this, |
SVGNames::widthAttr, |
@@ -172,20 +174,6 @@ static void transferUseWidthAndHeightIfNeeded( |
} |
} |
-bool SVGUseElement::isPresentationAttribute( |
- const QualifiedName& attrName) const { |
- if (attrName == SVGNames::xAttr || attrName == SVGNames::yAttr) |
- return true; |
- return SVGGraphicsElement::isPresentationAttribute(attrName); |
-} |
- |
-bool SVGUseElement::isPresentationAttributeWithSVGDOM( |
- const QualifiedName& attrName) const { |
- if (attrName == SVGNames::xAttr || attrName == SVGNames::yAttr) |
- return true; |
- return SVGGraphicsElement::isPresentationAttributeWithSVGDOM(attrName); |
-} |
- |
void SVGUseElement::collectStyleForPresentationAttribute( |
const QualifiedName& name, |
const AtomicString& value, |