Chromium Code Reviews| Index: sky/engine/core/painting/CanvasGradient.h |
| diff --git a/sky/engine/core/painting/CanvasGradient.h b/sky/engine/core/painting/CanvasGradient.h |
| index fed61ec3d7cd2efa943c099bac65bcdb21678777..8779eaa72aca3c16a5f4642a7f74f9ba003e1061 100644 |
| --- a/sky/engine/core/painting/CanvasGradient.h |
| +++ b/sky/engine/core/painting/CanvasGradient.h |
| @@ -21,11 +21,13 @@ class CanvasGradient : public Shader { |
| void initLinear(const Vector<Point>& end_points, |
| const Vector<SkColor>& colors, |
| - const Vector<float>& color_stops); |
| + const Vector<float>& color_stops, |
| + unsigned tile_mode); |
|
eseidel
2015/06/09 17:45:22
Why can't the C++ use an enum?
Matt Perry
2015/06/09 19:01:25
It can, but then I'd have to write code to do the
|
| void initRadial(const Point& center, |
| double radius, |
| const Vector<SkColor>& colors, |
| - const Vector<float>& color_stops); |
| + const Vector<float>& color_stops, |
| + unsigned tile_mode); |
| private: |
| CanvasGradient(); |