Index: Source/core/dom/ElementData.cpp |
diff --git a/Source/core/dom/ElementData.cpp b/Source/core/dom/ElementData.cpp |
index 2922961534e2fe08005d222aac804c9fb6b50cc1..621edda59ce5d87db4c1955c8477f21ec16d274c 100644 |
--- a/Source/core/dom/ElementData.cpp |
+++ b/Source/core/dom/ElementData.cpp |
@@ -212,16 +212,6 @@ PassRefPtrWillBeRawPtr<ShareableElementData> UniqueElementData::makeShareableCop |
return adoptRefWillBeNoop(new (slot) ShareableElementData(*this)); |
} |
-Attribute* UniqueElementData::findAttributeByName(const QualifiedName& name) |
-{ |
- unsigned length = m_attributeVector.size(); |
- for (unsigned i = 0; i < length; ++i) { |
- if (m_attributeVector.at(i).name().matches(name)) |
- return &m_attributeVector.at(i); |
- } |
- return 0; |
-} |
- |
void UniqueElementData::traceAfterDispatch(Visitor* visitor) |
{ |
visitor->trace(m_presentationAttributeStyle); |