| Index: Source/core/dom/ElementData.cpp
|
| diff --git a/Source/core/dom/ElementData.cpp b/Source/core/dom/ElementData.cpp
|
| index dbd47f0fdacdd821daa0551b70e00f9a4a1fa55f..10d006f75a452eb10f2cd7e5b45b3c9ec32ca344 100644
|
| --- a/Source/core/dom/ElementData.cpp
|
| +++ b/Source/core/dom/ElementData.cpp
|
| @@ -215,11 +215,11 @@ PassRefPtr<ShareableElementData> UniqueElementData::makeShareableCopy() const
|
| return adoptRef(new (slot) ShareableElementData(*this));
|
| }
|
|
|
| -Attribute* UniqueElementData::getAttributeItem(const QualifiedName& name)
|
| +Attribute* UniqueElementData::getAttributeItem(const QualifiedName& name, bool shouldIgnoreCase)
|
| {
|
| unsigned length = this->length();
|
| for (unsigned i = 0; i < length; ++i) {
|
| - if (m_attributeVector.at(i).name().matches(name))
|
| + if (m_attributeVector.at(i).name().matchesPossiblyIgnoringCase(name, shouldIgnoreCase))
|
| return &m_attributeVector.at(i);
|
| }
|
| return 0;
|
|
|