summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLFormCollection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLFormCollection.cpp')
-rw-r--r--WebCore/html/HTMLFormCollection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/html/HTMLFormCollection.cpp b/WebCore/html/HTMLFormCollection.cpp
index fd2b836..fa69710 100644
--- a/WebCore/html/HTMLFormCollection.cpp
+++ b/WebCore/html/HTMLFormCollection.cpp
@@ -109,7 +109,7 @@ Element* HTMLFormCollection::getNamedFormItem(const QualifiedName& attrName, con
if (caseSensitive)
found = e->getAttribute(attrName) == name;
else
- found = e->getAttribute(attrName).string().lower() == name.lower();
+ found = e->getAttribute(attrName).domString().lower() == name.lower();
if (found) {
foundInputElements = true;
if (!duplicateNumber)
@@ -126,7 +126,7 @@ Element* HTMLFormCollection::getNamedFormItem(const QualifiedName& attrName, con
if (caseSensitive)
found = e->getAttribute(attrName) == name;
else
- found = e->getAttribute(attrName).string().lower() == name.lower();
+ found = e->getAttribute(attrName).domString().lower() == name.lower();
if (found) {
if (!duplicateNumber)
return e;