Index: Source/platform/graphics/Gradient.h |
diff --git a/Source/platform/graphics/Gradient.h b/Source/platform/graphics/Gradient.h |
index 2cfb76c2824170e35ed375b5fb543bdedbeb1270..ff48b9f9a2e754a45a88ef4c864190461cc235dc 100644 |
--- a/Source/platform/graphics/Gradient.h |
+++ b/Source/platform/graphics/Gradient.h |
@@ -65,7 +65,7 @@ public: |
ColorStop(float s, const Color& c) : stop(s), color(c) { } |
}; |
void addColorStop(const ColorStop&); |
- void addColorStop(float, const Color&); |
+ void addColorStop(float value, const Color& color) { addColorStop(ColorStop(value, color)); } |
bool hasAlpha() const; |
bool shaderChanged() const { return !m_gradient; } |
@@ -115,8 +115,6 @@ public: |
SkShader* shader(); |
- void setStopsSorted(bool s) { m_stopsSorted = s; } |
- |
void setDrawsInPMColorSpace(bool drawInPMColorSpace); |
void setSpreadMethod(GradientSpreadMethod); |