Index: ui/base/clipboard/clipboard_test_template.h |
diff --git a/ui/base/clipboard/clipboard_test_template.h b/ui/base/clipboard/clipboard_test_template.h |
index cf033779cefc506caa8427f2ad960c0ad40afbf8..0082870bf56513880c146ac247afa0dc4d4ab771 100644 |
--- a/ui/base/clipboard/clipboard_test_template.h |
+++ b/ui/base/clipboard/clipboard_test_template.h |
@@ -394,7 +394,6 @@ static void TestBitmapWrite(Clipboard* clipboard, |
CLIPBOARD_TYPE_COPY_PASTE)); |
const SkBitmap& image = clipboard->ReadImage(CLIPBOARD_TYPE_COPY_PASTE); |
EXPECT_EQ(size, gfx::Size(image.width(), image.height())); |
- SkAutoLockPixels image_lock(image); |
for (int j = 0; j < image.height(); ++j) { |
const uint32_t* row_address = image.getAddr32(0, j); |
for (int i = 0; i < image.width(); ++i) { |