From bbb203c0751269b70c846f77a9db9c22e6a9099b Mon Sep 17 00:00:00 2001 From: Scroggo Date: Tue, 31 May 2011 17:04:56 +0000 Subject: [PATCH] Remove unnecessary call to unlock. git-svn-id: http://skia.googlecode.com/svn/trunk@1451 2bbb7eff-a529-9590-31e7-b0007b416f81 --- samplecode/SampleApp.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp index 34b23f1476..727d93ec8d 100644 --- a/samplecode/SampleApp.cpp +++ b/samplecode/SampleApp.cpp @@ -710,7 +710,6 @@ void SampleWindow::showZoomer(SkCanvas* canvas) { paint.setColor(SK_ColorBLUE); drawText(canvas, string, left, SkScalarMulAdd(lineHeight, i, dest.fTop), paint); canvas->restoreToCount(count); - bitmap.unlockPixels(); } void SampleWindow::onDraw(SkCanvas* canvas) {