Index: components/suggestions/image_encoder.cc |
diff --git a/components/suggestions/image_encoder.cc b/components/suggestions/image_encoder.cc |
index 73283cf5bbbd694cdc5e8eacc9060841f87cc129..8b0fa09fc260d64b8df3bc12cf5499dd017f604e 100644 |
--- a/components/suggestions/image_encoder.cc |
+++ b/components/suggestions/image_encoder.cc |
@@ -17,7 +17,6 @@ std::unique_ptr<SkBitmap> DecodeJPEGToSkBitmap(const void* encoded_data, |
bool EncodeSkBitmapToJPEG(const SkBitmap& bitmap, |
std::vector<unsigned char>* dest) { |
- SkAutoLockPixels bitmap_lock(bitmap); |
if (!bitmap.readyToDraw() || bitmap.isNull()) { |
return false; |
} |