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

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

Issue 18196004: Revert 153294 "Remove AtomicStringImpl." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 years, 6 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 | « trunk/Source/core/html/HTMLCollection.h ('k') | trunk/Source/core/html/HTMLDocument.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/core/html/HTMLDocument.h
===================================================================
--- trunk/Source/core/html/HTMLDocument.h (revision 153372)
+++ trunk/Source/core/html/HTMLDocument.h (working copy)
@@ -64,11 +64,11 @@
void addNamedItem(const AtomicString& name);
void removeNamedItem(const AtomicString& name);
- bool hasNamedItem(StringImpl* name);
+ bool hasNamedItem(AtomicStringImpl* name);
void addExtraNamedItem(const AtomicString& name);
void removeExtraNamedItem(const AtomicString& name);
- bool hasExtraNamedItem(StringImpl* name);
+ bool hasExtraNamedItem(AtomicStringImpl* name);
static bool isCaseSensitiveAttribute(const QualifiedName&);
@@ -76,20 +76,20 @@
HTMLDocument(Frame*, const KURL&, DocumentClassFlags extendedDocumentClasses = DefaultDocumentClass);
private:
- void addItemToMap(HashCountedSet<StringImpl*>&, const AtomicString&);
- void removeItemFromMap(HashCountedSet<StringImpl*>&, const AtomicString&);
+ void addItemToMap(HashCountedSet<AtomicStringImpl*>&, const AtomicString&);
+ void removeItemFromMap(HashCountedSet<AtomicStringImpl*>&, const AtomicString&);
- HashCountedSet<StringImpl*> m_namedItemCounts;
- HashCountedSet<StringImpl*> m_extraNamedItemCounts;
+ HashCountedSet<AtomicStringImpl*> m_namedItemCounts;
+ HashCountedSet<AtomicStringImpl*> m_extraNamedItemCounts;
};
-inline bool HTMLDocument::hasNamedItem(StringImpl* name)
+inline bool HTMLDocument::hasNamedItem(AtomicStringImpl* name)
{
ASSERT(name);
return m_namedItemCounts.contains(name);
}
-inline bool HTMLDocument::hasExtraNamedItem(StringImpl* name)
+inline bool HTMLDocument::hasExtraNamedItem(AtomicStringImpl* name)
{
ASSERT(name);
return m_extraNamedItemCounts.contains(name);
« no previous file with comments | « trunk/Source/core/html/HTMLCollection.h ('k') | trunk/Source/core/html/HTMLDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698