Index: Source/core/frame/ImageBitmap.cpp |
diff --git a/Source/core/frame/ImageBitmap.cpp b/Source/core/frame/ImageBitmap.cpp |
index ae200eaece78105c65fc4256df2b51b7b43192e6..ac5ebbf2e0189cf06389827eb86e1137adfa957c 100644 |
--- a/Source/core/frame/ImageBitmap.cpp |
+++ b/Source/core/frame/ImageBitmap.cpp |
@@ -82,7 +82,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).get(), cropRect); |
+ m_bitmap = cropImage(canvas->copiedImage(FrontBuffer).get(), cropRect); |
} |
ImageBitmap::ImageBitmap(ImageData* data, const IntRect& cropRect) |