Index: trunk/Source/core/dom/TreeScope.h |
=================================================================== |
--- trunk/Source/core/dom/TreeScope.h (revision 153372) |
+++ trunk/Source/core/dom/TreeScope.h (working copy) |
@@ -56,7 +56,7 @@ |
Node* focusedNode(); |
Element* getElementById(const AtomicString&) const; |
- bool hasElementWithId(StringImpl* id) const; |
+ bool hasElementWithId(AtomicStringImpl* id) const; |
bool containsMultipleElementsWithId(const AtomicString& id) const; |
void addElementById(const AtomicString& elementId, Element*); |
void removeElementById(const AtomicString& elementId, Element*); |
@@ -174,7 +174,7 @@ |
mutable RefPtr<DOMSelection> m_selection; |
}; |
-inline bool TreeScope::hasElementWithId(StringImpl* id) const |
+inline bool TreeScope::hasElementWithId(AtomicStringImpl* id) const |
{ |
ASSERT(id); |
return m_elementsById && m_elementsById->contains(id); |