Index: chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job_unittest.cc |
diff --git a/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job_unittest.cc b/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job_unittest.cc |
index 574f5380de1c14e48a9201346a78537080f148ef..72b3b4e528f496035a86de9a88a31af565697fa2 100644 |
--- a/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job_unittest.cc |
+++ b/chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job_unittest.cc |
@@ -124,7 +124,6 @@ scoped_refptr<base::RefCountedBytes> GenerateTestPNG(const int& width, |
for (int x = 0; x < width; ++x) |
*bmp.getAddr32(x, y) = background_color; |
} |
- SkAutoLockPixels lock(bmp); |
scoped_refptr<base::RefCountedBytes> png_bytes(new base::RefCountedBytes()); |
gfx::PNGCodec::ColorFormat color_format = gfx::PNGCodec::FORMAT_RGBA; |
if (!gfx::PNGCodec::Encode( |