Index: Source/core/rendering/RenderVideo.cpp |
diff --git a/Source/core/rendering/RenderVideo.cpp b/Source/core/rendering/RenderVideo.cpp |
index c0e35adb304e63cf3092664efc725143de698f70..d1c8dd29dd22e229855c5e4d635dd84a208be174 100644 |
--- a/Source/core/rendering/RenderVideo.cpp |
+++ b/Source/core/rendering/RenderVideo.cpp |
@@ -179,7 +179,7 @@ void RenderVideo::updatePlayer() |
if (!mediaPlayer) |
return; |
- if (!videoElement()->isActive()) |
+ if (!videoElement()->inActiveDocument()) |
return; |
videoElement()->setNeedsCompositingUpdate(); |