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

Unified Diff: sky/engine/core/painting/CanvasGradient.cpp

Issue 1175763002: Add LinearBoxGradient and RadialBoxGradient decorations for RenderDecoratedBox. (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: . Created 5 years, 6 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
« no previous file with comments | « no previous file | sky/examples/raw/shadowed_box.dart » ('j') | sky/examples/raw/shadowed_box.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/painting/CanvasGradient.cpp
diff --git a/sky/engine/core/painting/CanvasGradient.cpp b/sky/engine/core/painting/CanvasGradient.cpp
index d8286faa7be0b0b2652bae4b36aedcd4b04d8821..8f287693197f49da9e457627515617cb80f07033 100644
--- a/sky/engine/core/painting/CanvasGradient.cpp
+++ b/sky/engine/core/painting/CanvasGradient.cpp
@@ -21,7 +21,6 @@ void CanvasGradient::initLinear(const Vector<Point>& end_points,
for (int i = 0; i < 2; ++i)
sk_end_points[i] = end_points[i].sk_point;
- // TODO(mpcomplete): allow setting the TileMode.
SkShader* shader = SkGradientShader::CreateLinear(
sk_end_points, colors.data(), color_stops.data(), colors.size(),
tile_mode);
« no previous file with comments | « no previous file | sky/examples/raw/shadowed_box.dart » ('j') | sky/examples/raw/shadowed_box.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698