From 03e12282df9aa1e1fb05a8b90f1cfc2e08764cec Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 9 Feb 2012 14:16:12 +0100 Subject: Imported WebKit commit e09a82039aa4273ab318b71122e92d8e5f233525 (http://svn.webkit.org/repository/webkit/trunk@107223) --- Source/WebCore/html/HTMLParamElement.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/WebCore/html/HTMLParamElement.cpp') 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)) -- cgit v1.2.1