aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleUnpremul.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SampleUnpremul.cpp')
-rw-r--r--samplecode/SampleUnpremul.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/samplecode/SampleUnpremul.cpp b/samplecode/SampleUnpremul.cpp
index 558bf935f1..be42d23bbd 100644
--- a/samplecode/SampleUnpremul.cpp
+++ b/samplecode/SampleUnpremul.cpp
@@ -116,7 +116,6 @@ protected:
canvas->translate(height * 2, height * 2);
if (!fPremul) {
// A premultiplied bitmap cannot currently be drawn.
- SkAutoLockPixels alp(fBitmap);
// Copy it to a bitmap which can be drawn, converting
// to premultiplied:
SkBitmap bm;