Index: Source/core/paint/VideoPainter.cpp |
diff --git a/Source/core/paint/VideoPainter.cpp b/Source/core/paint/VideoPainter.cpp |
index 8d60d98aee21c0fa68af7a6c32e672d7e380e62a..91634069316bc47043d0b91fe47e864a885556c8 100644 |
--- a/Source/core/paint/VideoPainter.cpp |
+++ b/Source/core/paint/VideoPainter.cpp |
@@ -45,7 +45,7 @@ void VideoPainter::paintReplaced(const PaintInfo& paintInfo, const LayoutPoint& |
if (displayingPoster) |
ImagePainter(m_layoutVideo).paintIntoRect(context, rect); |
else if ((m_layoutVideo.document().view() && m_layoutVideo.document().view()->paintBehavior() & PaintBehaviorFlattenCompositingLayers) || !m_layoutVideo.acceleratedRenderingInUse()) |
- m_layoutVideo.videoElement()->paintCurrentFrameInContext(context, pixelSnappedIntRect(rect)); |
+ m_layoutVideo.videoElement()->paintCurrentFrame(context->canvas(), pixelSnappedIntRect(rect), &context->fillPaint()); |
if (clip) |
context->restore(); |