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

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

Issue 2610253004: Migrate WTF::Vector::append() to ::push_back() [part 9 of N] (Closed)
Patch Set: rebase Created 3 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
Index: third_party/WebKit/Source/core/layout/line/RootInlineBox.h
diff --git a/third_party/WebKit/Source/core/layout/line/RootInlineBox.h b/third_party/WebKit/Source/core/layout/line/RootInlineBox.h
index a962d7ff674bfc1577b77f33666934f533f3dffc..6bfb2964735201eeffc09c1956b073297cc9fcf0 100644
--- a/third_party/WebKit/Source/core/layout/line/RootInlineBox.h
+++ b/third_party/WebKit/Source/core/layout/line/RootInlineBox.h
@@ -157,7 +157,7 @@ class RootInlineBox : public InlineFlowBox {
void appendFloat(LayoutBox* floatingBox) {
ASSERT(!isDirty());
if (m_floats)
- m_floats->append(floatingBox);
+ m_floats->push_back(floatingBox);
else
m_floats = WTF::wrapUnique(new Vector<LayoutBox*>(1, floatingBox));
}

Powered by Google App Engine
This is Rietveld 408576698