Index: third_party/WebKit/Source/core/dom/DocumentOrderedMap.h |
diff --git a/third_party/WebKit/Source/core/dom/DocumentOrderedMap.h b/third_party/WebKit/Source/core/dom/DocumentOrderedMap.h |
index 53a4e4c9c2ebb47a456732f7edc3fa03596f7845..ca8d1ebf27bf65aa5fd745c776e7c21efa6dd4c3 100644 |
--- a/third_party/WebKit/Source/core/dom/DocumentOrderedMap.h |
+++ b/third_party/WebKit/Source/core/dom/DocumentOrderedMap.h |
@@ -56,11 +56,11 @@ class DocumentOrderedMap : public GarbageCollected<DocumentOrderedMap> { |
bool Contains(const AtomicString&) const; |
bool ContainsMultiple(const AtomicString&) const; |
// concrete instantiations of the get<>() method template |
- Element* GetElementById(const AtomicString&, const TreeScope*) const; |
+ Element* GetElementById(const AtomicString&, const TreeScope&) const; |
const HeapVector<Member<Element>>& GetAllElementsById(const AtomicString&, |
- const TreeScope*) const; |
- Element* GetElementByMapName(const AtomicString&, const TreeScope*) const; |
- HTMLSlotElement* GetSlotByName(const AtomicString&, const TreeScope*) const; |
+ const TreeScope&) const; |
+ Element* GetElementByMapName(const AtomicString&, const TreeScope&) const; |
+ HTMLSlotElement* GetSlotByName(const AtomicString&, const TreeScope&) const; |
DECLARE_TRACE(); |
@@ -91,7 +91,7 @@ class DocumentOrderedMap : public GarbageCollected<DocumentOrderedMap> { |
DocumentOrderedMap(); |
template <bool keyMatches(const AtomicString&, const Element&)> |
- Element* Get(const AtomicString&, const TreeScope*) const; |
+ Element* Get(const AtomicString&, const TreeScope&) const; |
class MapEntry : public GarbageCollected<MapEntry> { |
public: |