summaryrefslogtreecommitdiff
path: root/libs/hwui/tests/unit/VectorDrawableTests.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/unit/VectorDrawableTests.cpp
parentf0f8a1bfe12ddad1e18dc0982686eaafc3daba81 (diff)
Update to new factories for effects
Test: make Change-Id: Ib342878524b51d0eacf6c60ece3c7da8bf27d2c0
Diffstat (limited to 'libs/hwui/tests/unit/VectorDrawableTests.cpp')
-rw-r--r--libs/hwui/tests/unit/VectorDrawableTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/tests/unit/VectorDrawableTests.cpp b/libs/hwui/tests/unit/VectorDrawableTests.cpp
index 5db002862fcd..60fd7a753f2d 100644
--- a/libs/hwui/tests/unit/VectorDrawableTests.cpp
+++ b/libs/hwui/tests/unit/VectorDrawableTests.cpp
@@ -395,7 +395,7 @@ TEST(VectorDrawable, drawPathWithoutIncrementingShaderRefCount) {
bitmap.allocN32Pixels(5, 5, false);
SkCanvas canvas(bitmap);
- sk_sp<SkShader> shader = SkShader::MakeColorShader(SK_ColorBLACK);
+ sk_sp<SkShader> shader = SkShaders::Color(SK_ColorBLACK);
// Initial ref count is 1
EXPECT_TRUE(shader->unique());