summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLParamElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLParamElement.cpp')
-rw-r--r--WebCore/html/HTMLParamElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/html/HTMLParamElement.cpp b/WebCore/html/HTMLParamElement.cpp
index ca28383..a637d5b 100644
--- a/WebCore/html/HTMLParamElement.cpp
+++ b/WebCore/html/HTMLParamElement.cpp
@@ -44,7 +44,7 @@ PassRefPtr<HTMLParamElement> HTMLParamElement::create(const QualifiedName& tagNa
void HTMLParamElement::parseMappedAttribute(Attribute* attr)
{
- if (attr->name() == idAttributeName()) {
+ if (isIdAttributeName(attr->name())) {
// Must call base class so that hasID bit gets set.
HTMLElement::parseMappedAttribute(attr);
if (document()->isHTMLDocument())