Index: components/user_manager/user_image/user_image.cc |
diff --git a/components/user_manager/user_image/user_image.cc b/components/user_manager/user_image/user_image.cc |
index 23c763ff7334af53e18f996c5554335b64efb5a2..db293d53b30249a1bfa9cc8849b64a78e63933eb 100644 |
--- a/components/user_manager/user_image/user_image.cc |
+++ b/components/user_manager/user_image/user_image.cc |
@@ -26,7 +26,6 @@ scoped_refptr<base::RefCountedBytes> UserImage::Encode( |
ImageFormat image_format) { |
TRACE_EVENT2("oobe", "UserImage::Encode", |
"width", bitmap.width(), "height", bitmap.height()); |
- SkAutoLockPixels lock_bitmap(bitmap); |
std::vector<unsigned char> output; |
auto* bitmap_data = reinterpret_cast<unsigned char*>(bitmap.getAddr32(0, 0)); |
if (image_format == FORMAT_JPEG) { |