| 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 5349544d6bf4bc1c90e58ee0663e183fdc596089..e256ce59684d3e204e734013e5d9b45c997c11f4 100644
|
| --- a/third_party/WebKit/Source/core/frame/ImageBitmap.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/ImageBitmap.cpp
|
| @@ -90,7 +90,7 @@ ImageBitmap::ImageBitmap(HTMLCanvasElement* canvas, const IntRect& cropRect)
|
| 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), cropRect);
|
| + m_bitmap = cropImage(canvas->copiedImage(BackBuffer, PreferAcceleration), cropRect);
|
| }
|
|
|
| ImageBitmap::ImageBitmap(ImageData* data, const IntRect& cropRect)
|
| @@ -197,7 +197,7 @@ PassRefPtr<Image> ImageBitmap::bitmapImage() const
|
| return m_bitmap;
|
| }
|
|
|
| -PassRefPtr<Image> ImageBitmap::getSourceImageForCanvas(SourceImageStatus* status) const
|
| +PassRefPtr<Image> ImageBitmap::getSourceImageForCanvas(SourceImageStatus* status, AccelerationHint) const
|
| {
|
| *status = NormalSourceImageStatus;
|
| return bitmapImage();
|
|
|