summaryrefslogtreecommitdiff
path: root/libs/hwui/tests/common/scenes/SimpleGradientAnimation.cpp
diff options
context:
space:
mode:
authorMike Reed <reed@google.com>2019-04-10 16:57:52 -0400
committerMike Reed <reed@google.com>2019-04-11 09:56:42 -0400
commit1c2f5fcc7e35312877531069ece5cbee2d9ee040 (patch)
treeaf7664ed6dc2a35d5a61093ee7451d81f84d649a /libs/hwui/tests/common/scenes/SimpleGradientAnimation.cpp
parentf0f8a1bfe12ddad1e18dc0982686eaafc3daba81 (diff)
Update to new factories for effects
Test: make Change-Id: Ib342878524b51d0eacf6c60ece3c7da8bf27d2c0
Diffstat (limited to 'libs/hwui/tests/common/scenes/SimpleGradientAnimation.cpp')
-rw-r--r--libs/hwui/tests/common/scenes/SimpleGradientAnimation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/tests/common/scenes/SimpleGradientAnimation.cpp b/libs/hwui/tests/common/scenes/SimpleGradientAnimation.cpp
index 016c65c17c4c..8bd804e75674 100644
--- a/libs/hwui/tests/common/scenes/SimpleGradientAnimation.cpp
+++ b/libs/hwui/tests/common/scenes/SimpleGradientAnimation.cpp
@@ -57,7 +57,7 @@ private:
// use i%2 start position to pick 2 color combo with black in it
SkColor colors[3] = {Color::Transparent, Color::Black, Color::Cyan_500};
paint.setShader(SkGradientShader::MakeLinear(pts, colors + (i % 2), pos, 2,
- SkShader::kClamp_TileMode));
+ SkTileMode::kClamp));
canvas.drawRect(i, i, width, height, paint);
}
});