Index: Source/core/rendering/RenderVideo.cpp |
diff --git a/Source/core/rendering/RenderVideo.cpp b/Source/core/rendering/RenderVideo.cpp |
index 8829b3816c385db8cee88d974a382f267becb759..d1a30c875b9bdd047ec7eb257e5e48dc41df3029 100644 |
--- a/Source/core/rendering/RenderVideo.cpp |
+++ b/Source/core/rendering/RenderVideo.cpp |
@@ -170,7 +170,7 @@ void RenderVideo::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOf |
if (displayingPoster) |
paintIntoRect(context, rect); |
else if ((document().view() && document().view()->paintBehavior() & PaintBehaviorFlattenCompositingLayers) || !acceleratedRenderingInUse()) |
- mediaPlayer->paint(context, pixelSnappedIntRect(rect)); |
+ videoElement()->paintCurrentFrameInContext(context, pixelSnappedIntRect(rect)); |
if (clip) |
context->restore(); |