Index: cc/output/gl_renderer.cc |
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc |
index 3446cc7d7214fa82c136451b5bc62837bd99648f..a7fe4528c8a5dd0b581736e6811c6eda19c1ec94 100644 |
--- a/cc/output/gl_renderer.cc |
+++ b/cc/output/gl_renderer.cc |
@@ -2830,7 +2830,6 @@ void GLRenderer::FinishedReadback(unsigned source_buffer, |
if (src_pixels) { |
bitmap.reset(new SkBitmap); |
bitmap->allocN32Pixels(size.width(), size.height()); |
- std::unique_ptr<SkAutoLockPixels> lock(new SkAutoLockPixels(*bitmap)); |
uint8_t* dest_pixels = static_cast<uint8_t*>(bitmap->getPixels()); |
size_t row_bytes = size.width() * 4; |