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

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

Issue 2749583002: Add Gradient::addColorStops method (Closed)
Patch Set: Created 3 years, 9 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.h
diff --git a/third_party/WebKit/Source/platform/graphics/Gradient.h b/third_party/WebKit/Source/platform/graphics/Gradient.h
index efe1f7eedf6e6b5a71cd1e4c9c29d08520f56713..273c1fed5dea1b0689f12dc72f44ce4d5a65a0a7 100644
--- a/third_party/WebKit/Source/platform/graphics/Gradient.h
+++ b/third_party/WebKit/Source/platform/graphics/Gradient.h
@@ -73,6 +73,7 @@ class PLATFORM_EXPORT Gradient : public RefCounted<Gradient> {
void addColorStop(float value, const Color& color) {
addColorStop(ColorStop(value, color));
}
+ void addColorStops(const Vector<Gradient::ColorStop>&);
bool isRadial() const { return m_radial; }
bool isZeroSize() const {

Powered by Google App Engine
This is Rietveld 408576698