Index: content/renderer/pepper/pepper_graphics_2d_host.cc |
diff --git a/content/renderer/pepper/pepper_graphics_2d_host.cc b/content/renderer/pepper/pepper_graphics_2d_host.cc |
index c2f625fac552fde1e2e33e880c65ffe6b23d2c01..6b6959ecf196bef5702bb1f6b5323ebc59360de6 100644 |
--- a/content/renderer/pepper/pepper_graphics_2d_host.cc |
+++ b/content/renderer/pepper/pepper_graphics_2d_host.cc |
@@ -106,8 +106,6 @@ void ConvertImageData(PPB_ImageData_Impl* src_image, |
SkBitmap src_bitmap(src_image->GetMappedBitmap()); |
SkBitmap dest_bitmap(dest_image->GetMappedBitmap()); |
- SkAutoLockPixels src_lock(src_bitmap); |
- SkAutoLockPixels dest_lock(dest_bitmap); |
if (src_rect.width() == src_image->width() && |
dest_rect.width() == dest_image->width()) { |
// Fast path if the full frame can be converted at once. |