| Index: sky/engine/core/dom/TreeScope.cpp
|
| diff --git a/sky/engine/core/dom/TreeScope.cpp b/sky/engine/core/dom/TreeScope.cpp
|
| index fe04e5a0e2184d6778a3865ef188f8b78a8ddf2e..1093c2756f7f22d39daf0822744d6e390ce6d8ca 100644
|
| --- a/sky/engine/core/dom/TreeScope.cpp
|
| +++ b/sky/engine/core/dom/TreeScope.cpp
|
| @@ -160,16 +160,6 @@ Element* TreeScope::getElementById(const AtomicString& elementId) const
|
| return m_elementsById->getElementById(elementId, this);
|
| }
|
|
|
| -const Vector<RawPtr<Element> >& TreeScope::getAllElementsById(const AtomicString& elementId) const
|
| -{
|
| - DEFINE_STATIC_LOCAL(OwnPtr<Vector<RawPtr<Element> > >, emptyVector, (adoptPtr(new Vector<RawPtr<Element> >())));
|
| - if (elementId.isEmpty())
|
| - return *emptyVector;
|
| - if (!m_elementsById)
|
| - return *emptyVector;
|
| - return m_elementsById->getAllElementsById(elementId, this);
|
| -}
|
| -
|
| void TreeScope::addElementById(const AtomicString& elementId, Element* element)
|
| {
|
| if (!m_elementsById)
|
|
|