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

Unified Diff: third_party/WebKit/Source/core/css/CSSBasicShapeValues.h

Issue 2566403003: Migrate WTF::Vector::append() to ::push_back() [part 3 of N] (Closed)
Patch Set: Created 4 years 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/css/CSSBasicShapeValues.h
diff --git a/third_party/WebKit/Source/core/css/CSSBasicShapeValues.h b/third_party/WebKit/Source/core/css/CSSBasicShapeValues.h
index 6ff149b8a8727fb37bf385c76dd5d62d67a585c4..ff3fd4bd811eba646dc4329539b59381cbbdf81e 100644
--- a/third_party/WebKit/Source/core/css/CSSBasicShapeValues.h
+++ b/third_party/WebKit/Source/core/css/CSSBasicShapeValues.h
@@ -106,8 +106,8 @@ class CSSBasicShapePolygonValue final : public CSSValue {
}
void appendPoint(CSSPrimitiveValue* x, CSSPrimitiveValue* y) {
- m_values.append(x);
- m_values.append(y);
+ m_values.push_back(x);
+ m_values.push_back(y);
}
CSSPrimitiveValue* getXAt(unsigned i) const { return m_values.at(i * 2); }

Powered by Google App Engine
This is Rietveld 408576698