Index: content/shell/test_runner/pixel_dump.cc |
diff --git a/content/shell/test_runner/pixel_dump.cc b/content/shell/test_runner/pixel_dump.cc |
index 6252a44da9555287b2b8891998fe327d2428e04b..123030fed6bc974b2c6f953d71e4a560010601f9 100644 |
--- a/content/shell/test_runner/pixel_dump.cc |
+++ b/content/shell/test_runner/pixel_dump.cc |
@@ -204,9 +204,7 @@ void CopyImageAtAndCapturePixels( |
blink::WebImage image = static_cast<blink::WebMockClipboard*>( |
blink::Platform::Current()->Clipboard()) |
->ReadRawImage(blink::WebClipboard::Buffer()); |
- const SkBitmap& bitmap = image.GetSkBitmap(); |
- SkAutoLockPixels autoLock(bitmap); |
- callback.Run(bitmap); |
+ callback.Run(image.GetSkBitmap()); |
} |
} // namespace test_runner |