Index: content/renderer/renderer_clipboard_delegate.cc |
diff --git a/content/renderer/renderer_clipboard_delegate.cc b/content/renderer/renderer_clipboard_delegate.cc |
index 1fb70deb3c7986c5759efc55e007ad6853e53b3c..ec5e4ff8623ab7a06a2a11712e6b9bc550c13f39 100644 |
--- a/content/renderer/renderer_clipboard_delegate.cc |
+++ b/content/renderer/renderer_clipboard_delegate.cc |
@@ -123,8 +123,8 @@ bool RendererClipboardDelegate::WriteImage(ui::ClipboardType clipboard_type, |
const gfx::Size size(bitmap.width(), bitmap.height()); |
std::unique_ptr<base::SharedMemory> shared_buf; |
+ |
{ |
- SkAutoLockPixels locked(bitmap); |
void* pixels = bitmap.getPixels(); |
// TODO(piman): this should not be NULL, but it is. crbug.com/369621 |
if (!pixels) |