Index: third_party/WebKit/Source/core/frame/ImageBitmap.cpp |
diff --git a/third_party/WebKit/Source/core/frame/ImageBitmap.cpp b/third_party/WebKit/Source/core/frame/ImageBitmap.cpp |
index 62388bc0fb578bd02059e4556ea598892a587f45..cae4fbb1b70f014d4cf0cef8c7a2c51a84d7ff7d 100644 |
--- a/third_party/WebKit/Source/core/frame/ImageBitmap.cpp |
+++ b/third_party/WebKit/Source/core/frame/ImageBitmap.cpp |
@@ -98,7 +98,7 @@ ImageBitmap::ImageBitmap(ImageData* data, const IntRect& cropRect) |
, m_bitmapOffset(IntPoint()) |
{ |
IntRect srcRect = intersection(cropRect, IntRect(IntPoint(), data->size())); |
- OwnPtr<ImageBuffer> buffer = ImageBuffer::create(data->size()); |
+ OwnPtr<ImageBuffer> buffer = ImageBuffer::create(data->size(), Opaque, DoNotInitializeImagePixels); |
if (!buffer) |
return; |