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

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

Issue 835953003: Fix template angle bracket syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 | « Source/wtf/text/StringImpl.h ('k') | Source/wtf/text/StringOperators.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/text/StringImpl.cpp
diff --git a/Source/wtf/text/StringImpl.cpp b/Source/wtf/text/StringImpl.cpp
index 8252a23aca98dac631a256e4ad786c7bbbdfc77f..684854e57f6e2fb0b209f61c52bb7b2379ea803d 100644
--- a/Source/wtf/text/StringImpl.cpp
+++ b/Source/wtf/text/StringImpl.cpp
@@ -189,17 +189,17 @@ static void printLiveStringStats(void*)
MutexLocker locker(statsMutex());
HashSet<void*>& strings = liveStrings();
- HashMap<StringImpl*, RefPtr<PerStringStats> > stats;
+ HashMap<StringImpl*, RefPtr<PerStringStats>> stats;
for (HashSet<void*>::iterator iter = strings.begin(); iter != strings.end(); ++iter) {
StringImpl* string = static_cast<StringImpl*>(*iter);
- HashMap<StringImpl*, RefPtr<PerStringStats> >::iterator entry = stats.find(string);
+ HashMap<StringImpl*, RefPtr<PerStringStats>>::iterator entry = stats.find(string);
RefPtr<PerStringStats> value = entry == stats.end() ? RefPtr<PerStringStats>(PerStringStats::create()) : entry->value;
value->add(string);
stats.set(string, value.release());
}
- Vector<RefPtr<PerStringStats> > all;
- for (HashMap<StringImpl*, RefPtr<PerStringStats> >::iterator iter = stats.begin(); iter != stats.end(); ++iter)
+ Vector<RefPtr<PerStringStats>> all;
+ for (HashMap<StringImpl*, RefPtr<PerStringStats>>::iterator iter = stats.begin(); iter != stats.end(); ++iter)
all.append(iter->value);
std::sort(all.begin(), all.end());
« no previous file with comments | « Source/wtf/text/StringImpl.h ('k') | Source/wtf/text/StringOperators.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698