| Index: ui/gfx/codec/png_codec.cc
|
| diff --git a/ui/gfx/codec/png_codec.cc b/ui/gfx/codec/png_codec.cc
|
| index 7f0a569d7892e09eac7219d2449a5e85ac7ec52d..69a00c19449403b6a3853627217af1e18b838cfc 100644
|
| --- a/ui/gfx/codec/png_codec.cc
|
| +++ b/ui/gfx/codec/png_codec.cc
|
| @@ -731,7 +731,6 @@ bool InternalEncodeSkBitmap(const SkBitmap& input,
|
| int bpp = input.bytesPerPixel();
|
| DCHECK(bpp == 1 || bpp == 4); // We support kA8_Config and kARGB_8888_Config.
|
|
|
| - SkAutoLockPixels lock_input(input);
|
| unsigned char* inputAddr = bpp == 1 ?
|
| reinterpret_cast<unsigned char*>(input.getAddr8(0, 0)) :
|
| reinterpret_cast<unsigned char*>(input.getAddr32(0, 0)); // bpp = 4
|
|
|