| Index: Source/core/frame/ImageBitmap.cpp
|
| diff --git a/Source/core/frame/ImageBitmap.cpp b/Source/core/frame/ImageBitmap.cpp
|
| index f41e9f12657c2391ac52a3d12be885f53501d833..ee76ed53a8be351bbcad4a73ed051e29ffbdf3ef 100644
|
| --- a/Source/core/frame/ImageBitmap.cpp
|
| +++ b/Source/core/frame/ImageBitmap.cpp
|
| @@ -84,7 +84,7 @@ ImageBitmap::ImageBitmap(HTMLVideoElement* video, const IntRect& cropRect)
|
| }
|
| }
|
|
|
| - video->paintCurrentFrameInContext(buffer->context(), videoRect);
|
| + video->paintCurrentFrame(buffer->canvas(), videoRect, nullptr);
|
| m_bitmap = buffer->copyImage(DontCopyBackingStore);
|
| m_bitmapRect = IntRect(IntPoint(std::max(0, -cropRect.x()), std::max(0, -cropRect.y())), srcRect.size());
|
| }
|
|
|