Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(723)

Unified Diff: third_party/WebKit/Source/core/loader/resource/ImageResourceContent.h

Issue 2613853002: Phase III Step 2: Call imageNotifyFinished() and image load event after SVG loading completes (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698