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

Unified Diff: Source/wtf/text/AtomicString.cpp

Issue 110843004: Replaced HTMLIdentifier with an atomized string factory function (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review fixes Created 7 years 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/parser/HTMLTreeBuilderSimulator.cpp ('k') | Source/wtf/text/StringImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/text/AtomicString.cpp
diff --git a/Source/wtf/text/AtomicString.cpp b/Source/wtf/text/AtomicString.cpp
index 1a2f1e2b06b3ead89270860432bdfea8e4035148..8ba6875953c4f385e0d8321ce924ea09da93ed9b 100644
--- a/Source/wtf/text/AtomicString.cpp
+++ b/Source/wtf/text/AtomicString.cpp
@@ -71,11 +71,11 @@ private:
void addStaticStrings()
{
- const Vector<StringImpl*>& staticStrings = StringImpl::allStaticStrings();
+ const StaticStringsTable& staticStrings = StringImpl::allStaticStrings();
- Vector<StringImpl*>::const_iterator it = staticStrings.begin();
+ StaticStringsTable::const_iterator it = staticStrings.begin();
for (; it != staticStrings.end(); ++it) {
- addStringImpl(*it);
+ addStringImpl(it->value);
}
}
« no previous file with comments | « Source/core/html/parser/HTMLTreeBuilderSimulator.cpp ('k') | Source/wtf/text/StringImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698