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

Unified Diff: third_party/WebKit/Source/core/style/BasicShapes.h

Issue 2617783002: Migrate WTF::Vector::append() to ::push_back() [part 12 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/style/BasicShapes.h
diff --git a/third_party/WebKit/Source/core/style/BasicShapes.h b/third_party/WebKit/Source/core/style/BasicShapes.h
index 225af2fcad96ca9aa57727ef3337ffec9361d048..4313578e454b1b7244530dcfc295e12d0ba97784 100644
--- a/third_party/WebKit/Source/core/style/BasicShapes.h
+++ b/third_party/WebKit/Source/core/style/BasicShapes.h
@@ -233,8 +233,8 @@ class BasicShapePolygon final : public BasicShape {
void setWindRule(WindRule windRule) { m_windRule = windRule; }
void appendPoint(const Length& x, const Length& y) {
- m_values.append(x);
- m_values.append(y);
+ m_values.push_back(x);
+ m_values.push_back(y);
}
void path(Path&, const FloatRect&) override;
« no previous file with comments | « third_party/WebKit/Source/core/paint/TableSectionPainter.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698