Index: skia/ext/platform_canvas_unittest.cc |
diff --git a/skia/ext/platform_canvas_unittest.cc b/skia/ext/platform_canvas_unittest.cc |
index 1bd15a6bb9035e79eab832daa46e6a152f49fb6e..8d7e5979fd94309a71b6f3eb7b81f65beda708b8 100644 |
--- a/skia/ext/platform_canvas_unittest.cc |
+++ b/skia/ext/platform_canvas_unittest.cc |
@@ -58,7 +58,6 @@ bool VerifyRect(const SkCanvas& canvas, |
uint32_t canvas_color, uint32_t rect_color, |
int x, int y, int w, int h) { |
const SkBitmap bitmap = skia::ReadPixels(const_cast<SkCanvas*>(&canvas)); |
- SkAutoLockPixels lock(bitmap); |
for (int cur_y = 0; cur_y < bitmap.height(); cur_y++) { |
for (int cur_x = 0; cur_x < bitmap.width(); cur_x++) { |