Index: third_party/WebKit/Source/core/loader/resource/ImageResourceContent.h |
diff --git a/third_party/WebKit/Source/core/loader/resource/ImageResourceContent.h b/third_party/WebKit/Source/core/loader/resource/ImageResourceContent.h |
index f105fb80c27e7c4ab631d2f9be4e3fa694a84313..8b8adedb1b3fea4b3bf035fbec33085f99166340 100644 |
--- a/third_party/WebKit/Source/core/loader/resource/ImageResourceContent.h |
+++ b/third_party/WebKit/Source/core/loader/resource/ImageResourceContent.h |
@@ -93,7 +93,7 @@ class CORE_EXPORT ImageResourceContent final |
void RemoveObserver(ImageResourceObserver*); |
bool IsSizeAvailable() const { |
- return size_available_ == Image::kSizeAvailable; |
+ return size_available_ != Image::kSizeUnavailable; |
} |
DECLARE_TRACE(); |
@@ -189,6 +189,7 @@ class CORE_EXPORT ImageResourceContent final |
bool ShouldPauseAnimation(const blink::Image*) override; |
void AnimationAdvanced(const blink::Image*) override; |
void ChangedInRect(const blink::Image*, const IntRect&) override; |
+ void AsyncLoadCompleted(const blink::Image*) override; |
PassRefPtr<Image> CreateImage(); |
void ClearImage(); |