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

Unified Diff: third_party/WebKit/Source/core/fetch/ImageResourceObserver.h

Issue 1843533005: Call imageNotifyFinished() just before ResourceClient::notifyFinished() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 9 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/fetch/ImageResourceObserver.h
diff --git a/third_party/WebKit/Source/core/fetch/ImageResourceObserver.h b/third_party/WebKit/Source/core/fetch/ImageResourceObserver.h
index f9a31a54bba56bbf669ff92222dbebf7ab24c0e3..0684207ee01d3f64287fe9e7c8853a5580cbb13d 100644
--- a/third_party/WebKit/Source/core/fetch/ImageResourceObserver.h
+++ b/third_party/WebKit/Source/core/fetch/ImageResourceObserver.h
@@ -41,8 +41,8 @@ public:
// because we are animating. If not null, the IntRect is the changed rect of the image.
virtual void imageChanged(ImageResource*, const IntRect* = 0) { }
- // Similar to ResourceClient::notifyFinished(), except for a slight call
- // order difference. This is to avoid an ImageResourceObserver from being
+ // Called just before ResourceClient::notifyFinished() would be called.
+ // This is to avoid an ImageResourceObserver from being
// also a ResourceClient just to be notified for load finish.
virtual void imageNotifyFinished(ImageResource*) { }

Powered by Google App Engine
This is Rietveld 408576698