Index: third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
index a3466a06728f0d90d5f9c40b17fdf6c67cb4c2d1..98038c20872b523e33847478aa8e8652a4b2b636 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp |
@@ -95,6 +95,11 @@ DEFINE_TRACE(HTMLVideoElement) { |
HTMLMediaElement::Trace(visitor); |
} |
+bool HTMLVideoElement::HasPendingActivity() const { |
+ return HTMLMediaElement::HasPendingActivity() || |
+ (image_loader_ && image_loader_->HasPendingActivity()); |
+} |
+ |
Node::InsertionNotificationRequest HTMLVideoElement::InsertedInto( |
ContainerNode* insertion_point) { |
if (insertion_point->isConnected() && custom_controls_fullscreen_detector_) |