aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GradientTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GradientTest.cpp')
-rw-r--r--tests/GradientTest.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/GradientTest.cpp b/tests/GradientTest.cpp
index e46bfb46c6..ec2753dc96 100644
--- a/tests/GradientTest.cpp
+++ b/tests/GradientTest.cpp
@@ -149,7 +149,6 @@ static void TestConstantGradient(skiatest::Reporter*) {
outBitmap.allocN32Pixels(10, 1);
SkCanvas canvas(outBitmap);
canvas.drawPaint(paint);
- SkAutoLockPixels alp(outBitmap);
for (int i = 0; i < 10; i++) {
// The following is commented out because it currently fails
// Related bug: https://code.google.com/p/skia/issues/detail?id=1098