diff options
Diffstat (limited to 'samplecode/SampleDither.cpp')
-rw-r--r-- | samplecode/SampleDither.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/samplecode/SampleDither.cpp b/samplecode/SampleDither.cpp index 6d91fda3ad..76ebecc25f 100644 --- a/samplecode/SampleDither.cpp +++ b/samplecode/SampleDither.cpp @@ -19,7 +19,6 @@ #include "SkColorPriv.h" #include "SkColorFilter.h" #include "SkDither.h" -#include "sk_tool_utils.h" static void draw_sweep(SkCanvas* c, int width, int height, SkScalar angle) { SkRect r; @@ -112,7 +111,7 @@ public: make_bm(&fBM); make_bm(&fBMPreDither); pre_dither(fBMPreDither); - sk_tool_utils::copy_to(&fBM16, kARGB_4444_SkColorType, fBM); + fBM.copyTo(&fBM16, kARGB_4444_SkColorType); fAngle = 0; |