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

Unified Diff: third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp

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/core/layout/line/RootInlineBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp b/third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp
index de520698987a1c08cb47e7fec4c19ead64b80191..0927b4b821a68677684033df684baea0a99adfa2 100644
--- a/third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp
@@ -120,7 +120,7 @@ LayoutUnit RootInlineBox::placeEllipsis(const AtomicString& ellipsisStr,
if (!gEllipsisBoxMap)
gEllipsisBoxMap = new EllipsisBoxMap();
- gEllipsisBoxMap->add(this, ellipsisBox);
+ gEllipsisBoxMap->insert(this, ellipsisBox);
setHasEllipsisBox(true);
// FIXME: Do we need an RTL version of this?

Powered by Google App Engine
This is Rietveld 408576698