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

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

Issue 18228003: Remove AtomicStringImpl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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
Index: Source/core/html/HTMLDocument.h
diff --git a/Source/core/html/HTMLDocument.h b/Source/core/html/HTMLDocument.h
index 6fd734b701be385f3e955d450ca0a6ad70aecdca..4cee77341dd25efa1a00f04080f237f0f4a96705 100644
--- a/Source/core/html/HTMLDocument.h
+++ b/Source/core/html/HTMLDocument.h
@@ -64,11 +64,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&);
@@ -76,20 +76,20 @@ protected:
HTMLDocument(Frame*, const KURL&, DocumentClassFlags extendedDocumentClasses = DefaultDocumentClass);
private:
- 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);

Powered by Google App Engine
This is Rietveld 408576698