summaryrefslogtreecommitdiff
path: root/libs/hwui/VectorDrawable.cpp
diff options
context:
space:
mode:
authorMike Reed <reed@google.com>2019-12-03 13:01:07 -0500
committerMike Reed <reed@google.com>2019-12-03 13:01:12 -0500
commit6a8bf8e9e2faaa1294e5cb274826407676642e63 (patch)
treef73620de7a0264f25251e7dfbeb8441d5893ffc2 /libs/hwui/VectorDrawable.cpp
parent426e4c1b5aacca38123f0451aad4ea9a3eed4d10 (diff)
use new SkPathFillType enum
Test: make Change-Id: I8f20b7da284483ea4f59e35d9c3d48202cba02d5
Diffstat (limited to 'libs/hwui/VectorDrawable.cpp')
-rw-r--r--libs/hwui/VectorDrawable.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/hwui/VectorDrawable.cpp b/libs/hwui/VectorDrawable.cpp
index 217b0c4a8b98..cd908354aea5 100644
--- a/libs/hwui/VectorDrawable.cpp
+++ b/libs/hwui/VectorDrawable.cpp
@@ -135,8 +135,7 @@ const SkPath& FullPath::getUpdatedPath(bool useStagingData, SkPath* tempStagingP
bool setFillPath = properties.getFillGradient() != nullptr ||
properties.getFillColor() != SK_ColorTRANSPARENT;
if (setFillPath) {
- SkPath::FillType ft = static_cast<SkPath::FillType>(properties.getFillType());
- outPath->setFillType(ft);
+ outPath->setFillType(static_cast<SkPathFillType>(properties.getFillType()));
}
return *outPath;
}