Index: Source/core/paint/VideoPainter.cpp |
diff --git a/Source/core/paint/VideoPainter.cpp b/Source/core/paint/VideoPainter.cpp |
index 85d7d9d8f11ec98bebcc6b9a77233a2469cf7cae..8624fe930e40f5d7a336f26c1b8f2e04bf47c5aa 100644 |
--- a/Source/core/paint/VideoPainter.cpp |
+++ b/Source/core/paint/VideoPainter.cpp |
@@ -29,12 +29,12 @@ void VideoPainter::paintReplaced(const PaintInfo& paintInfo, const LayoutPoint& |
rect.moveBy(paintOffset); |
GraphicsContext* context = paintInfo.context; |
- if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*context, m_layoutVideo, paintInfo.phase)) |
+ if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*context, m_layoutVideo, paintInfo.phase, paintOffset)) |
return; |
LayoutRect contentRect = m_layoutVideo.contentBoxRect(); |
contentRect.moveBy(paintOffset); |
- LayoutObjectDrawingRecorder drawingRecorder(*context, m_layoutVideo, paintInfo.phase, contentRect); |
+ LayoutObjectDrawingRecorder drawingRecorder(*context, m_layoutVideo, paintInfo.phase, contentRect, paintOffset); |
bool clip = !contentRect.contains(rect); |
if (clip) { |