Index: third_party/WebKit/Source/core/loader/ImageLoader.h |
diff --git a/third_party/WebKit/Source/core/loader/ImageLoader.h b/third_party/WebKit/Source/core/loader/ImageLoader.h |
index 534fbb0ec861361acf57d755c2709fd28da64773..250faa8d02e0caf35cc0cd8755f34226ab658d01 100644 |
--- a/third_party/WebKit/Source/core/loader/ImageLoader.h |
+++ b/third_party/WebKit/Source/core/loader/ImageLoader.h |
@@ -96,7 +96,8 @@ class CORE_EXPORT ImageLoader : public GarbageCollectedFinalized<ImageLoader>, |
void SetLoadingImageDocument() { loading_image_document_ = true; } |
bool HasPendingActivity() const { |
- return has_pending_load_event_ || has_pending_error_event_ || pending_task_; |
+ return (image_ && !image_complete_) || has_pending_load_event_ || |
+ has_pending_error_event_ || pending_task_; |
} |
bool HasPendingError() const { return has_pending_error_event_; } |