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

Unified Diff: third_party/WebKit/Source/platform/graphics/Gradient.cpp

Issue 2615813003: Migrate WTF::Vector::append() to ::push_back() [part 14 of N] (Closed)
Patch Set: rebase, small fix in FontSettings.h 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/platform/graphics/Gradient.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/Gradient.cpp b/third_party/WebKit/Source/platform/graphics/Gradient.cpp
index 72fc7c2c79e451c836245ff6c6231489602dd4c6..62b46328ea0e3c82f76dcf89dbf4324038f25d2e 100644
--- a/third_party/WebKit/Source/platform/graphics/Gradient.cpp
+++ b/third_party/WebKit/Source/platform/graphics/Gradient.cpp
@@ -81,7 +81,7 @@ void Gradient::addColorStop(const Gradient::ColorStop& stop) {
m_stopsSorted = m_stopsSorted && compareStops(m_stops.back(), stop);
}
- m_stops.append(stop);
+ m_stops.push_back(stop);
m_cachedShader.reset();
}

Powered by Google App Engine
This is Rietveld 408576698