Index: Source/core/rendering/RenderVideo.cpp |
diff --git a/Source/core/rendering/RenderVideo.cpp b/Source/core/rendering/RenderVideo.cpp |
index 49d9588a2e304a114c51f59d458f5ee97a9b911a..8df3eae0f0baf87a2a0c8712d56cb18e6a953a3a 100644 |
--- a/Source/core/rendering/RenderVideo.cpp |
+++ b/Source/core/rendering/RenderVideo.cpp |
@@ -189,7 +189,7 @@ void RenderVideo::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOf |
if (displayingPoster) |
paintIntoRect(context, rect); |
- else if (document()->view() && document()->view()->paintBehavior() & PaintBehaviorFlattenCompositingLayers) |
+ else if (document().view() && document().view()->paintBehavior() & PaintBehaviorFlattenCompositingLayers) |
mediaPlayer->paintCurrentFrameInContext(context, pixelSnappedIntRect(rect)); |
else |
mediaPlayer->paint(context, pixelSnappedIntRect(rect)); |