Index: chrome/browser/chromeos/login/users/avatar/user_image_manager_test_util.cc |
diff --git a/chrome/browser/chromeos/login/users/avatar/user_image_manager_test_util.cc b/chrome/browser/chromeos/login/users/avatar/user_image_manager_test_util.cc |
index 33e8b476bbdc7bd027848b4fe2ed69be58efba62..1875e95544b85a7ad89d1c798f7c7df5ff7e62d2 100644 |
--- a/chrome/browser/chromeos/login/users/avatar/user_image_manager_test_util.cc |
+++ b/chrome/browser/chromeos/login/users/avatar/user_image_manager_test_util.cc |
@@ -37,8 +37,6 @@ bool AreImagesEqual(const gfx::ImageSkia& first, const gfx::ImageSkia& second) { |
if (second_bitmap->getSize() != size) |
return false; |
- SkAutoLockPixels first_pixel_lock(*first_bitmap); |
- SkAutoLockPixels second_pixel_lock(*second_bitmap); |
uint8_t* first_data = reinterpret_cast<uint8_t*>(first_bitmap->getPixels()); |
uint8_t* second_data = reinterpret_cast<uint8_t*>(second_bitmap->getPixels()); |
for (size_t i = 0; i < size; ++i) { |