DescriptionCall imageNotifyFinished() just before ResourceClient::notifyFinished()
Previously, calls to ImageResourceObserver::imageNotifyFinished() were
implemented by piggybacking on ImageResourceObserver::imageChanged().
However, it causes slight differences between imageNotifyFinished() and
ResourceClient::notifyFinished(), and prevents ImageLoader from using
imageNotifyFinished() instead of notifyFinished().
This CL removes the piggybacking on imageChanged(), and implements
imageNotifyFinished() just like notifyFinished().
This CL enables ImageLoader to be non-ResourceClient in
https://codereview.chromium.org/1844603002/.
BUG=587663
Committed: https://crrev.com/9ec02ebf8f196e0e0d90e5a6686b4ca23340febb
Cr-Commit-Position: refs/heads/master@{#385968}
Patch Set 1 #Patch Set 2 : Fix. #Patch Set 3 : Rebase. #
Total comments: 2
Patch Set 4 : Rebase, Reflect yhirano's comment #
Dependent Patchsets: Messages
Total messages: 29 (15 generated)
|