diff options
Diffstat (limited to 'samplecode/SamplePathEffects.cpp')
-rw-r--r-- | samplecode/SamplePathEffects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SamplePathEffects.cpp b/samplecode/SamplePathEffects.cpp index 10715f382a..1f9915d378 100644 --- a/samplecode/SamplePathEffects.cpp +++ b/samplecode/SamplePathEffects.cpp @@ -152,7 +152,7 @@ protected: paint.setARGB(0xFF, 0, 0, 0); paint.setPathEffect(make_warp_pe(fPhase)); TestRastBuilder testRastBuilder; - paint.setRasterizer(testRastBuilder.detachRasterizer())->unref(); + paint.setRasterizer(testRastBuilder.detach()); canvas->drawPath(fPath, paint); } |