Commit c1913b02 authored by esprehn@chromium.org's avatar esprehn@chromium.org

Remove dead code from HTMLElement::parseAttribute

Element::parseAttribute does nothing so there's no reason to have a
special case to call it for id, class and style attributes.

Review URL: https://codereview.chromium.org/236363005

git-svn-id: svn://svn.chromium.org/blink/trunk@171431 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 896b0ee9
...@@ -302,9 +302,6 @@ const AtomicString& HTMLElement::eventNameForAttributeName(const QualifiedName& ...@@ -302,9 +302,6 @@ const AtomicString& HTMLElement::eventNameForAttributeName(const QualifiedName&
void HTMLElement::parseAttribute(const QualifiedName& name, const AtomicString& value) void HTMLElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
{ {
if (isIdAttributeName(name) || name == classAttr || name == styleAttr)
return Element::parseAttribute(name, value);
if (name == dirAttr) if (name == dirAttr)
dirAttributeChanged(value); dirAttributeChanged(value);
else if (name == tabindexAttr) { else if (name == tabindexAttr) {
......
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