Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
index 1165419271c1f0eada9ad19700a394a6cb7e6e9a..a5cf12ef141921ea9f73f9db52defb173e795a6d 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
@@ -137,6 +137,10 @@ DEFINE_TRACE(HTMLInputElement) { |
TextControlElement::Trace(visitor); |
} |
+bool HTMLInputElement::HasPendingActivity() const { |
+ return ImageLoader() && ImageLoader()->HasPendingActivity(); |
+} |
+ |
HTMLImageLoader& HTMLInputElement::EnsureImageLoader() { |
if (!image_loader_) |
image_loader_ = HTMLImageLoader::Create(this); |