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

Unified Diff: Source/core/html/HTMLDocument.h

Issue 19804005: Remove AtomicStringImpl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 | « Source/core/html/HTMLCollection.h ('k') | Source/core/html/HTMLDocument.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLDocument.h
diff --git a/Source/core/html/HTMLDocument.h b/Source/core/html/HTMLDocument.h
index 369758a0b024b41e72a6d1767a5345c0d0920e59..c2247416fd843c9ebd886ca5387d367caeb9537b 100644
--- a/Source/core/html/HTMLDocument.h
+++ b/Source/core/html/HTMLDocument.h
@@ -65,11 +65,11 @@ public:
void addNamedItem(const AtomicString& name);
void removeNamedItem(const AtomicString& name);
- bool hasNamedItem(AtomicStringImpl* name);
+ bool hasNamedItem(StringImpl* name);
void addExtraNamedItem(const AtomicString& name);
void removeExtraNamedItem(const AtomicString& name);
- bool hasExtraNamedItem(AtomicStringImpl* name);
+ bool hasExtraNamedItem(StringImpl* name);
static bool isCaseSensitiveAttribute(const QualifiedName&);
@@ -78,20 +78,20 @@ protected:
private:
HTMLBodyElement* bodyAsHTMLBodyElement() const;
- void addItemToMap(HashCountedSet<AtomicStringImpl*>&, const AtomicString&);
- void removeItemFromMap(HashCountedSet<AtomicStringImpl*>&, const AtomicString&);
+ void addItemToMap(HashCountedSet<StringImpl*>&, const AtomicString&);
+ void removeItemFromMap(HashCountedSet<StringImpl*>&, const AtomicString&);
- HashCountedSet<AtomicStringImpl*> m_namedItemCounts;
- HashCountedSet<AtomicStringImpl*> m_extraNamedItemCounts;
+ HashCountedSet<StringImpl*> m_namedItemCounts;
+ HashCountedSet<StringImpl*> m_extraNamedItemCounts;
};
-inline bool HTMLDocument::hasNamedItem(AtomicStringImpl* name)
+inline bool HTMLDocument::hasNamedItem(StringImpl* name)
{
ASSERT(name);
return m_namedItemCounts.contains(name);
}
-inline bool HTMLDocument::hasExtraNamedItem(AtomicStringImpl* name)
+inline bool HTMLDocument::hasExtraNamedItem(StringImpl* name)
{
ASSERT(name);
return m_extraNamedItemCounts.contains(name);
« no previous file with comments | « Source/core/html/HTMLCollection.h ('k') | Source/core/html/HTMLDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698