diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-02-09 14:16:12 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-02-09 14:16:12 +0100 |
commit | 03e12282df9aa1e1fb05a8b90f1cfc2e08764cec (patch) | |
tree | 52599cd0ab782b1768e23ad176f7618f98333cb6 /Source/WebCore/html/HTMLParamElement.cpp | |
parent | cd44dc59cdfc39534aef4d417e9f3c412e3be139 (diff) | |
download | qtwebkit-03e12282df9aa1e1fb05a8b90f1cfc2e08764cec.tar.gz |
Imported WebKit commit e09a82039aa4273ab318b71122e92d8e5f233525 (http://svn.webkit.org/repository/webkit/trunk@107223)
Diffstat (limited to 'Source/WebCore/html/HTMLParamElement.cpp')
-rw-r--r-- | Source/WebCore/html/HTMLParamElement.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebCore/html/HTMLParamElement.cpp b/Source/WebCore/html/HTMLParamElement.cpp index aa228bc31..c0f919951 100644 --- a/Source/WebCore/html/HTMLParamElement.cpp +++ b/Source/WebCore/html/HTMLParamElement.cpp @@ -47,11 +47,11 @@ bool HTMLParamElement::isURLParameter(const String& name) return equalIgnoringCase(name, "data") || equalIgnoringCase(name, "movie") || equalIgnoringCase(name, "src"); } -void HTMLParamElement::parseMappedAttribute(Attribute* attr) +void HTMLParamElement::parseAttribute(Attribute* attr) { if (isIdAttributeName(attr->name())) { // Must call base class so that hasID bit gets set. - HTMLElement::parseMappedAttribute(attr); + HTMLElement::parseAttribute(attr); if (document()->isHTMLDocument()) return; m_name = attr->value(); @@ -60,13 +60,13 @@ void HTMLParamElement::parseMappedAttribute(Attribute* attr) } else if (attr->name() == valueAttr) { m_value = attr->value(); } else - HTMLElement::parseMappedAttribute(attr); + HTMLElement::parseAttribute(attr); } bool HTMLParamElement::isURLAttribute(Attribute* attr) const { if (attr->name() == valueAttr && hasAttributes()) { - Attribute* nameAttribute = attributeMap()->getAttributeItem(nameAttr); + Attribute* nameAttribute = getAttributeItem(nameAttr); if (nameAttribute) { const AtomicString& value = nameAttribute->value(); if (isURLParameter(value)) |