diff options
Diffstat (limited to 'samplecode/SamplePathEffects.cpp')
-rw-r--r-- | samplecode/SamplePathEffects.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/SamplePathEffects.cpp b/samplecode/SamplePathEffects.cpp index 1f9915d378..3d9ba9cb36 100644 --- a/samplecode/SamplePathEffects.cpp +++ b/samplecode/SamplePathEffects.cpp @@ -45,7 +45,7 @@ static sk_sp<SkPathEffect> make_pe(int flags, SkScalar phase) { auto inner = SkCornerPathEffect::Make(SkIntToScalar(CORNER_RADIUS)); - return SkComposePathEffect::Make(outer, inner); + return SkPathEffect::MakeCompose(outer, inner); } static sk_sp<SkPathEffect> make_warp_pe(SkScalar phase) { @@ -61,7 +61,7 @@ static sk_sp<SkPathEffect> make_warp_pe(SkScalar phase) { path, 12, phase, SkPath1DPathEffect::kMorph_Style); auto inner = SkCornerPathEffect::Make(SkIntToScalar(CORNER_RADIUS)); - return SkComposePathEffect::Make(outer, inner); + return SkPathEffect::MakeCompose(outer, inner); } /////////////////////////////////////////////////////////// |