aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleDither.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SampleDither.cpp')
-rw-r--r--samplecode/SampleDither.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/samplecode/SampleDither.cpp b/samplecode/SampleDither.cpp
index a1b751b96f..76ebecc25f 100644
--- a/samplecode/SampleDither.cpp
+++ b/samplecode/SampleDither.cpp
@@ -73,8 +73,6 @@ static void make_bm(SkBitmap* bm) {
}
static void pre_dither(const SkBitmap& bm) {
- SkAutoLockPixels alp(bm);
-
for (int y = 0; y < bm.height(); y++) {
DITHER_4444_SCAN(y);