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

Issue 1843533005: Call imageNotifyFinished() just before ResourceClient::notifyFinished() (Closed)

Created:
4 years, 8 months ago by hiroshige
Modified:
4 years, 8 months ago
Reviewers:
Nate Chapin, yhirano
CC:
chromium-reviews, tyoshino+watch_chromium.org, Yoav Weiss, gavinp+loader_chromium.org, blink-reviews, loading-reviews+fetch_chromium.org, Nate Chapin
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Call 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -23 lines) Patch
M third_party/WebKit/Source/core/fetch/ImageResource.h View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ImageResource.cpp View 1 2 3 7 chunks +35 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ImageResourceObserver.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.cpp View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 29 (15 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1843533005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1843533005/1
4 years, 8 months ago (2016-03-29 19:07:31 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1843533005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1843533005/20001
4 years, 8 months ago (2016-03-29 19:42:26 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-29 20:56:45 UTC) #7
hiroshige
PTAL.
4 years, 8 months ago (2016-04-04 01:26:12 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1843533005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1843533005/60001
4 years, 8 months ago (2016-04-04 02:03:25 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/204657)
4 years, 8 months ago (2016-04-04 03:39:46 UTC) #15
yhirano
lgtm https://codereview.chromium.org/1843533005/diff/60001/third_party/WebKit/Source/core/fetch/ImageResource.cpp File third_party/WebKit/Source/core/fetch/ImageResource.cpp (right): https://codereview.chromium.org/1843533005/diff/60001/third_party/WebKit/Source/core/fetch/ImageResource.cpp#newcode148 third_party/WebKit/Source/core/fetch/ImageResource.cpp:148: didAddObserver(observer); [optional] I'm not sure if it's a ...
4 years, 8 months ago (2016-04-04 11:07:30 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1843533005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1843533005/80001
4 years, 8 months ago (2016-04-05 05:57:44 UTC) #18
hiroshige
https://codereview.chromium.org/1843533005/diff/60001/third_party/WebKit/Source/core/fetch/ImageResource.cpp File third_party/WebKit/Source/core/fetch/ImageResource.cpp (right): https://codereview.chromium.org/1843533005/diff/60001/third_party/WebKit/Source/core/fetch/ImageResource.cpp#newcode148 third_party/WebKit/Source/core/fetch/ImageResource.cpp:148: didAddObserver(observer); On 2016/04/04 11:07:30, yhirano wrote: > [optional] I'm ...
4 years, 8 months ago (2016-04-05 06:00:51 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-05 07:02:25 UTC) #21
Nate Chapin
lgtm
4 years, 8 months ago (2016-04-07 20:41:47 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1843533005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1843533005/80001
4 years, 8 months ago (2016-04-08 00:30:12 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 8 months ago (2016-04-08 03:11:12 UTC) #27
commit-bot: I haz the power
4 years, 8 months ago (2016-04-08 03:12:07 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9ec02ebf8f196e0e0d90e5a6686b4ca23340febb
Cr-Commit-Position: refs/heads/master@{#385968}

Powered by Google App Engine
This is Rietveld 408576698