| 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..71b11d6ce45db61d40d0bcd4cec9c4e890c6157c 100644
|
| --- a/third_party/WebKit/Source/core/frame/ImageBitmap.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/ImageBitmap.cpp
|
| @@ -89,7 +89,7 @@
|
| IntRect srcRect = intersection(cropRect, IntRect(IntPoint(), canvas->size()));
|
| m_bitmapRect = IntRect(IntPoint(std::max(0, -cropRect.x()), std::max(0, -cropRect.y())), srcRect.size());
|
| ASSERT(canvas->isPaintable());
|
| - m_bitmap = cropImage(canvas->copiedImage(BackBuffer, PreferAcceleration), cropRect);
|
| + m_bitmap = cropImage(canvas->copiedImage(BackBuffer), cropRect);
|
| }
|
|
|
| ImageBitmap::ImageBitmap(ImageData* data, const IntRect& cropRect)
|
| @@ -196,7 +196,7 @@
|
| return m_bitmap;
|
| }
|
|
|
| -PassRefPtr<Image> ImageBitmap::getSourceImageForCanvas(SourceImageStatus* status, AccelerationHint) const
|
| +PassRefPtr<Image> ImageBitmap::getSourceImageForCanvas(SourceImageStatus* status) const
|
| {
|
| *status = NormalSourceImageStatus;
|
| return bitmapImage();
|
|
|