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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp

Issue 2724363002: Migrate WTF::LinkedHashSet/ListHashSet::add() to ::insert() (Closed)
Patch Set: 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/LayoutBlockFlow.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
index 5bc764405211b05a2e686e5006311afe10ca48c3..e204dee20f2c25baeb1b0746585c7cce154cab4b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
@@ -4355,7 +4355,7 @@ void LayoutBlockFlow::simplifiedNormalFlowInlineLayout() {
o->layoutIfNeeded();
if (toLayoutBox(o)->inlineBoxWrapper()) {
RootInlineBox& box = toLayoutBox(o)->inlineBoxWrapper()->root();
- lineBoxes.add(&box);
+ lineBoxes.insert(&box);
}
} else if (o->isText() ||
(o->isLayoutInline() && !walker.atEndOfInline())) {
@@ -4384,7 +4384,7 @@ bool LayoutBlockFlow::recalcInlineChildrenOverflowAfterStyleChange() {
childrenOverflowChanged = true;
if (InlineBox* inlineBoxWrapper =
toLayoutBlock(layoutObject)->inlineBoxWrapper())
- lineBoxes.add(&inlineBoxWrapper->root());
+ lineBoxes.insert(&inlineBoxWrapper->root());
}
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutGrid.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698