diff options
Diffstat (limited to 'Source/WebCore/html/HTMLOutputElement.cpp')
-rw-r--r-- | Source/WebCore/html/HTMLOutputElement.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebCore/html/HTMLOutputElement.cpp b/Source/WebCore/html/HTMLOutputElement.cpp index 0e1155fd4..5432c92f1 100644 --- a/Source/WebCore/html/HTMLOutputElement.cpp +++ b/Source/WebCore/html/HTMLOutputElement.cpp @@ -61,12 +61,12 @@ bool HTMLOutputElement::supportsFocus() const return Node::supportsFocus() && !disabled(); } -void HTMLOutputElement::parseAttribute(Attribute* attr) +void HTMLOutputElement::parseAttribute(const Attribute& attribute) { - if (attr->name() == HTMLNames::forAttr) - setFor(attr->value()); + if (attribute.name() == HTMLNames::forAttr) + setFor(attribute.value()); else - HTMLFormControlElement::parseAttribute(attr); + HTMLFormControlElement::parseAttribute(attribute); } DOMSettableTokenList* HTMLOutputElement::htmlFor() const |