commit | e1af44498b6e40c448811e6efc4412272cc10ca7 | [log] [tgz] |
---|---|---|
author | Mike Reed <reed@google.com> | Fri Sep 13 15:58:25 2019 -0400 |
committer | Mike Reed <reed@google.com> | Sat Sep 14 01:26:38 2019 +0000 |
tree | 70dc4e550003d8883cc672bdaf2776cb86564661 | |
parent | 2cb1315d99e45fef58e18490d3dac5dba3370711 [diff] [blame] |
add guard to switch to SkPathTypes Change-Id: I44d8b5ae8a5172d11a6d4cd9d994373dd3816d6f Reviewed-on: https://skia-review.googlesource.com/c/skia/+/241278 Reviewed-by: Kevin Lubick <kjlubick@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Mike Reed <reed@google.com>
diff --git a/samplecode/SampleTextEffects.cpp b/samplecode/SampleTextEffects.cpp index 2303288..8e57750 100644 --- a/samplecode/SampleTextEffects.cpp +++ b/samplecode/SampleTextEffects.cpp
@@ -82,7 +82,7 @@ virtual bool onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*) const override { *dst = src; - dst->setFillType(SkPath::kInverseWinding_FillType); + dst->setFillType(SkPathFillType::kInverseWinding); return true; }