| Index: Source/core/paint/VideoPainter.cpp
|
| diff --git a/Source/core/paint/VideoPainter.cpp b/Source/core/paint/VideoPainter.cpp
|
| index 07519115056466637a0dd221071e9f379d023803..78ac0bd8d9a5302f91f7ec99818aa0b6409ede49 100644
|
| --- a/Source/core/paint/VideoPainter.cpp
|
| +++ b/Source/core/paint/VideoPainter.cpp
|
| @@ -22,7 +22,7 @@ void VideoPainter::paintReplaced(const PaintInfo& paintInfo, const LayoutPoint&
|
| if (!displayingPoster && !mediaPlayer)
|
| return;
|
|
|
| - LayoutRect rect = m_layoutVideo.videoBox();
|
| + LayoutRect rect(m_layoutVideo.videoBox());
|
| if (rect.isEmpty())
|
| return;
|
| rect.moveBy(paintOffset);
|
|
|