Index: ui/gfx/ipc/skia/gfx_skia_param_traits.cc |
diff --git a/ui/gfx/ipc/skia/gfx_skia_param_traits.cc b/ui/gfx/ipc/skia/gfx_skia_param_traits.cc |
index 5b09529f5dba1f235580076a1400a15192c4f88a..4a361372a5008189560251593571a048bebc4f19 100644 |
--- a/ui/gfx/ipc/skia/gfx_skia_param_traits.cc |
+++ b/ui/gfx/ipc/skia/gfx_skia_param_traits.cc |
@@ -64,7 +64,6 @@ void ParamTraits<SkBitmap>::Write(base::Pickle* m, const SkBitmap& p) { |
m->WriteData(reinterpret_cast<const char*>(&bmp_data), |
static_cast<int>(fixed_size)); |
size_t pixel_size = p.getSize(); |
- SkAutoLockPixels p_lock(p); |
m->WriteData(reinterpret_cast<const char*>(p.getPixels()), |
static_cast<int>(pixel_size)); |
} |