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

Issue 2587503002: Merge clearImage() and clearImageAndNotifyObservers() into updateImage() (Closed)

Created:
4 years ago by hiroshige
Modified:
3 years, 11 months ago
Reviewers:
Nate Chapin, yhirano
CC:
chromium-reviews, blink-reviews, loading-reviews_chromium.org, tyoshino+watch_chromium.org, Nate Chapin, gavinp+loader_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Merge clearImage() and clearImageAndNotifyObservers() into updateImage() In order to make ImageResourceContent::updateImage() the single control point of image updates from ImageResource, this CL merges clearImage() and clearImageAndNotifyObservers() calls from ImageResource into updateImage(). BUG=667641 Review-Url: https://codereview.chromium.org/2587503002 Cr-Commit-Position: refs/heads/master@{#442351} Committed: https://chromium.googlesource.com/chromium/src/+/5a597473adc7e1e3d0dd703d6d64dbe9364144ba

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Rebase #

Total comments: 3

Patch Set 4 : Rename ClearImageOnly #

Patch Set 5 : Build fix #

Patch Set 6 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -63 lines) Patch
M third_party/WebKit/Source/core/loader/resource/ImageResource.cpp View 1 2 3 7 chunks +14 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/loader/resource/ImageResourceContent.h View 1 2 3 4 5 2 chunks +28 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/loader/resource/ImageResourceContent.cpp View 1 2 3 4 1 chunk +53 lines, -43 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 41 (30 generated)
hiroshige
PTAL. Initially I thought calling clearImage() etc. is simpler rather than adding more options to ...
4 years ago (2016-12-16 22:50:13 UTC) #7
yhirano
https://codereview.chromium.org/2587503002/diff/40001/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp File third_party/WebKit/Source/core/loader/resource/ImageResource.cpp (right): https://codereview.chromium.org/2587503002/diff/40001/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp#newcode242 third_party/WebKit/Source/core/loader/resource/ImageResource.cpp:242: getContent()->updateImage(nullptr, ImageResourceContent::ClearAndUpdateImage, Isn't this ClearImageOnly?
4 years ago (2016-12-19 11:50:26 UTC) #10
hiroshige
https://codereview.chromium.org/2587503002/diff/40001/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp File third_party/WebKit/Source/core/loader/resource/ImageResource.cpp (right): https://codereview.chromium.org/2587503002/diff/40001/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp#newcode242 third_party/WebKit/Source/core/loader/resource/ImageResource.cpp:242: getContent()->updateImage(nullptr, ImageResourceContent::ClearAndUpdateImage, On 2016/12/19 11:50:26, yhirano wrote: > Isn't ...
4 years ago (2016-12-19 22:51:51 UTC) #11
yhirano
https://codereview.chromium.org/2587503002/diff/40001/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp File third_party/WebKit/Source/core/loader/resource/ImageResource.cpp (right): https://codereview.chromium.org/2587503002/diff/40001/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp#newcode242 third_party/WebKit/Source/core/loader/resource/ImageResource.cpp:242: getContent()->updateImage(nullptr, ImageResourceContent::ClearAndUpdateImage, On 2016/12/19 22:51:50, hiroshige wrote: > On ...
4 years ago (2016-12-20 12:09:16 UTC) #12
hiroshige
On 2016/12/20 12:09:16, yhirano OOO till 01-04 wrote: > https://codereview.chromium.org/2587503002/diff/40001/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp > File third_party/WebKit/Source/core/loader/resource/ImageResource.cpp (right): > ...
3 years, 11 months ago (2016-12-27 22:36:09 UTC) #15
Nate Chapin
This l-g-t-m, but I've been out of the loop. If yhirano's happy, I'm happy :)
3 years, 11 months ago (2016-12-27 23:46:52 UTC) #22
yhirano
lgtm
3 years, 11 months ago (2017-01-05 08:26:14 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2587503002/100001
3 years, 11 months ago (2017-01-05 22:56:00 UTC) #31
commit-bot: I haz the power
Failed to commit the patch.
3 years, 11 months ago (2017-01-06 01:13:40 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2587503002/100001
3 years, 11 months ago (2017-01-09 19:30:30 UTC) #38
commit-bot: I haz the power
3 years, 11 months ago (2017-01-09 21:26:08 UTC) #41
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/5a597473adc7e1e3d0dd703d6d64...

Powered by Google App Engine
This is Rietveld 408576698