commit | fae8fceb4abebc95058f2db20af7f21888a763c6 | [log] [tgz] |
---|---|---|
author | Mike Reed <reed@google.com> | Wed Apr 03 10:27:45 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Apr 03 15:24:18 2019 +0000 |
tree | e19058d731de00dcc2356e53e13a9f3f55f53c44 | |
parent | 408c3eaada08457072684f8ead38cc10024c9b6e [diff] [blame] |
Use SkTileMode instead of nested enum Add guard to transition clients Change-Id: Ia7a3e8f95722f91e84af262168dadf89a78707da Reviewed-on: https://skia-review.googlesource.com/c/skia/+/205720 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com> Auto-Submit: Mike Reed <reed@google.com>
diff --git a/gm/radial_gradient_precision.cpp b/gm/radial_gradient_precision.cpp index f594afe..bb4e155 100644 --- a/gm/radial_gradient_precision.cpp +++ b/gm/radial_gradient_precision.cpp
@@ -17,6 +17,6 @@ SkPaint p; p.setShader(SkGradientShader::MakeRadial(center, radius, colors, nullptr, SK_ARRAY_COUNT(colors), - SkShader::kRepeat_TileMode)); + SkTileMode::kRepeat)); canvas->drawPaint(p); }