Index: Source/core/dom/TreeScope.h |
diff --git a/Source/core/dom/TreeScope.h b/Source/core/dom/TreeScope.h |
index 18eb059ba113b8dfc1177b556139929d9424f7d9..71e1ee5da276e24c6aad1689a5ca52267b31c212 100644 |
--- a/Source/core/dom/TreeScope.h |
+++ b/Source/core/dom/TreeScope.h |
@@ -56,7 +56,7 @@ public: |
Node* focusedNode(); |
Element* getElementById(const AtomicString&) const; |
- bool hasElementWithId(AtomicStringImpl* id) const; |
+ bool hasElementWithId(StringImpl* id) const; |
bool containsMultipleElementsWithId(const AtomicString& id) const; |
void addElementById(const AtomicString& elementId, Element*); |
void removeElementById(const AtomicString& elementId, Element*); |
@@ -174,7 +174,7 @@ private: |
mutable RefPtr<DOMSelection> m_selection; |
}; |
-inline bool TreeScope::hasElementWithId(AtomicStringImpl* id) const |
+inline bool TreeScope::hasElementWithId(StringImpl* id) const |
{ |
ASSERT(id); |
return m_elementsById && m_elementsById->contains(id); |