| Index: Source/core/rendering/RenderVideo.cpp
|
| diff --git a/Source/core/rendering/RenderVideo.cpp b/Source/core/rendering/RenderVideo.cpp
|
| index 580bbf302796b864e0e5642b9d9f041d24372456..d7bffd4045ef1a8c2d6ba2c58efb49ae9552ef98 100644
|
| --- a/Source/core/rendering/RenderVideo.cpp
|
| +++ b/Source/core/rendering/RenderVideo.cpp
|
| @@ -186,28 +186,28 @@ void RenderVideo::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOf
|
| page = frame->page();
|
|
|
| if (!displayingPoster && !mediaPlayer) {
|
| - if (page && paintInfo.phase == PaintPhaseForeground)
|
| + if (page && paintInfo.getPhase() == PaintPhaseForeground)
|
| page->addRelevantUnpaintedObject(this, visualOverflowRect());
|
| return;
|
| }
|
|
|
| LayoutRect rect = videoBox();
|
| if (rect.isEmpty()) {
|
| - if (page && paintInfo.phase == PaintPhaseForeground)
|
| + if (page && paintInfo.getPhase() == PaintPhaseForeground)
|
| page->addRelevantUnpaintedObject(this, visualOverflowRect());
|
| return;
|
| }
|
| rect.moveBy(paintOffset);
|
|
|
| - if (page && paintInfo.phase == PaintPhaseForeground)
|
| + if (page && paintInfo.getPhase() == PaintPhaseForeground)
|
| page->addRelevantRepaintedObject(this, rect);
|
|
|
| if (displayingPoster)
|
| - paintIntoRect(paintInfo.context, rect);
|
| + paintIntoRect(paintInfo.getContext(), rect);
|
| else if (document()->view() && document()->view()->paintBehavior() & PaintBehaviorFlattenCompositingLayers)
|
| - mediaPlayer->paintCurrentFrameInContext(paintInfo.context, pixelSnappedIntRect(rect));
|
| + mediaPlayer->paintCurrentFrameInContext(paintInfo.getContext(), pixelSnappedIntRect(rect));
|
| else
|
| - mediaPlayer->paint(paintInfo.context, pixelSnappedIntRect(rect));
|
| + mediaPlayer->paint(paintInfo.getContext(), pixelSnappedIntRect(rect));
|
| }
|
|
|
| void RenderVideo::layout()
|
|
|