Index: Source/core/paint/VideoPainter.cpp |
diff --git a/Source/core/paint/VideoPainter.cpp b/Source/core/paint/VideoPainter.cpp |
index e57d702546b8a2e3f204d8cf3f87c9896b06a328..2aa540ba7ea1af5ed1bcb57ced271ccdae275f3f 100644 |
--- a/Source/core/paint/VideoPainter.cpp |
+++ b/Source/core/paint/VideoPainter.cpp |
@@ -39,10 +39,10 @@ void VideoPainter::paintReplaced(const PaintInfo& paintInfo, const LayoutPoint& |
clipRecorder.emplace(*context, m_layoutVideo, paintInfo.phase, FloatRect(contentRect)); |
} |
- if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*context, m_layoutVideo, paintInfo.phase)) |
+ if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*context, m_layoutVideo, paintInfo.phase, paintOffset)) |
return; |
- LayoutObjectDrawingRecorder drawingRecorder(*context, m_layoutVideo, paintInfo.phase, contentRect); |
+ LayoutObjectDrawingRecorder drawingRecorder(*context, m_layoutVideo, paintInfo.phase, contentRect, paintOffset); |
if (displayingPoster) { |
ImagePainter(m_layoutVideo).paintIntoRect(context, rect); |