Commit 3975f271 authored by Fredrik Söderquist's avatar Fredrik Söderquist Committed by Commit Bot

Remove SVGElement::IsPresentationAttributeWithSVGDOM

It is no longer used.

Change-Id: Ie73e71cd135f4005b2d66c80fc4fa8d90c349243
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1912200
Auto-Submit: Fredrik Söderquist <fs@opera.com>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#714690}
parent a2738e0d
......@@ -728,12 +728,6 @@ bool SVGElement::IsPresentationAttribute(const QualifiedName& name) const {
return CssPropertyIdForSVGAttributeName(name) > CSSPropertyID::kInvalid;
}
bool SVGElement::IsPresentationAttributeWithSVGDOM(
const QualifiedName& name) const {
const SVGAnimatedPropertyBase* property = PropertyFromAttribute(name);
return property && property->HasPresentationAttributeMapping();
}
void SVGElement::CollectStyleForPresentationAttribute(
const QualifiedName& name,
const AtomicString& value,
......
......@@ -211,7 +211,6 @@ class CORE_EXPORT SVGElement : public Element {
static const AtomicString& EventParameterName();
bool IsPresentationAttribute(const QualifiedName&) const override;
virtual bool IsPresentationAttributeWithSVGDOM(const QualifiedName&) const;
bool HasSVGParent() const;
......
......@@ -202,13 +202,6 @@ bool SVGSVGElement::IsPresentationAttribute(const QualifiedName& name) const {
return SVGGraphicsElement::IsPresentationAttribute(name);
}
bool SVGSVGElement::IsPresentationAttributeWithSVGDOM(
const QualifiedName& attr_name) const {
if (attr_name == svg_names::kWidthAttr || attr_name == svg_names::kHeightAttr)
return false;
return SVGGraphicsElement::IsPresentationAttributeWithSVGDOM(attr_name);
}
void SVGSVGElement::CollectStyleForPresentationAttribute(
const QualifiedName& name,
const AtomicString& value,
......
......@@ -118,7 +118,6 @@ class SVGSVGElement final : public SVGGraphicsElement,
void ParseAttribute(const AttributeModificationParams&) override;
bool IsPresentationAttribute(const QualifiedName&) const override;
bool IsPresentationAttributeWithSVGDOM(const QualifiedName&) const override;
void CollectStyleForPresentationAttribute(
const QualifiedName&,
const AtomicString&,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment