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

Unified Diff: third_party/WebKit/Source/platform/text/BidiResolver.h

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (Closed)
Patch Set: rebase, add TODOs Created 3 years, 10 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: third_party/WebKit/Source/platform/text/BidiResolver.h
diff --git a/third_party/WebKit/Source/platform/text/BidiResolver.h b/third_party/WebKit/Source/platform/text/BidiResolver.h
index 3257d3310a50200bd8b76756f75e25fdba407458..b63560b7fcd187e038f4945754316533b7eb3d9d 100644
--- a/third_party/WebKit/Source/platform/text/BidiResolver.h
+++ b/third_party/WebKit/Source/platform/text/BidiResolver.h
@@ -1210,7 +1210,7 @@ void BidiResolver<Iterator, Run, IsolatedRun>::setMidpointStateForIsolatedRun(
Run& run,
const MidpointState<Iterator>& midpoint) {
ASSERT(!m_midpointStateForIsolatedRun.contains(&run));
- m_midpointStateForIsolatedRun.add(&run, midpoint);
+ m_midpointStateForIsolatedRun.insert(&run, midpoint);
}
template <class Iterator, class Run, class IsolatedRun>

Powered by Google App Engine
This is Rietveld 408576698