Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(765)

Unified Diff: Source/core/dom/DocumentOrderedMap.h

Issue 138573003: Remove dead code from DocumentOrderedMap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/dom/DocumentOrderedMap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DocumentOrderedMap.h
diff --git a/Source/core/dom/DocumentOrderedMap.h b/Source/core/dom/DocumentOrderedMap.h
index 351e534d606ac60c8a6bb42bb35e8f43850c5de5..19c470ea0415c981d5850f87d087f6e9ab1886cc 100644
--- a/Source/core/dom/DocumentOrderedMap.h
+++ b/Source/core/dom/DocumentOrderedMap.h
@@ -31,7 +31,6 @@
#ifndef DocumentOrderedMap_h
#define DocumentOrderedMap_h
-#include "wtf/HashCountedSet.h"
#include "wtf/HashMap.h"
#include "wtf/Vector.h"
#include "wtf/text/StringImpl.h"
@@ -45,7 +44,6 @@ class DocumentOrderedMap {
public:
void add(StringImpl*, Element*);
void remove(StringImpl*, Element*);
- void clear();
bool contains(StringImpl*) const;
bool containsMultiple(StringImpl*) const;
@@ -56,8 +54,6 @@ public:
Element* getElementByLowercasedMapName(StringImpl*, const TreeScope*) const;
Element* getElementByLabelForAttribute(StringImpl*, const TreeScope*) const;
- void checkConsistency() const;
-
private:
template<bool keyMatches(StringImpl*, Element*)> Element* get(StringImpl*, const TreeScope*) const;
« no previous file with comments | « no previous file | Source/core/dom/DocumentOrderedMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698