| Index: Source/core/paint/VideoPainter.cpp
|
| diff --git a/Source/core/paint/VideoPainter.cpp b/Source/core/paint/VideoPainter.cpp
|
| index 684283306d1b81be63e32dbb7b65e7d4e1469ec3..7d56436df869290b674e8575cbcd91dca65f36d8 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) {
|
|
|