summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/dom/DocumentOrderedMap.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/DocumentOrderedMap.h')
-rw-r--r--Source/WebCore/dom/DocumentOrderedMap.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/WebCore/dom/DocumentOrderedMap.h b/Source/WebCore/dom/DocumentOrderedMap.h
index 58767c6..7d12686 100644
--- a/Source/WebCore/dom/DocumentOrderedMap.h
+++ b/Source/WebCore/dom/DocumentOrderedMap.h
@@ -37,8 +37,8 @@
namespace WebCore {
-class Document;
class Element;
+class TreeScope;
class DocumentOrderedMap {
public:
@@ -49,14 +49,14 @@ public:
bool contains(AtomicStringImpl*) const;
bool containsMultiple(AtomicStringImpl*) const;
// concrete instantiations of the get<>() method template
- Element* getElementById(AtomicStringImpl*, const Document*) const;
- Element* getElementByMapName(AtomicStringImpl*, const Document*) const;
- Element* getElementByLowercasedMapName(AtomicStringImpl*, const Document*) const;
+ Element* getElementById(AtomicStringImpl*, const TreeScope*) const;
+ Element* getElementByMapName(AtomicStringImpl*, const TreeScope*) const;
+ Element* getElementByLowercasedMapName(AtomicStringImpl*, const TreeScope*) const;
void checkConsistency() const;
private:
- template<bool keyMatches(AtomicStringImpl*, Element*)> Element* get(AtomicStringImpl*, const Document*) const;
+ template<bool keyMatches(AtomicStringImpl*, Element*)> Element* get(AtomicStringImpl*, const TreeScope*) const;
typedef HashMap<AtomicStringImpl*, Element*> Map;