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

Issue 1454373005: Update comments regarding image caching (Closed)

Created:
5 years, 1 month ago by davve
Modified:
5 years, 1 month ago
Reviewers:
f(malita), fs
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, eae+blinkwatch, gavinp+loader_chromium.org, Nate Chapin, jchaffraix+rendering, leviw+renderwatch, loading-reviews+fetch_chromium.org, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, tyoshino+watch_chromium.org, Yoav Weiss, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update comments regarding image caching While attempting to remove the layoutObject parameter the following observations were made: * The decoding forced by BitmapImage::imageForCurrentFrame will be deferred so the comment in the header may be removed. * BitmapImage::currentFrameKnownToBeOpaque() conservatively returns false for uncached images, not true. * Since decoding is deferred, there is no guarantee that the opaqueness metadata is available after the imageForCurrentFrame call has returned. It may increase the chance though, depending on image decoder for the particular image. NOTRY=true BUG=559131 Committed: https://crrev.com/b36e66be08af9935c7ef51c6bf1fdce45fed61f2 Cr-Commit-Position: refs/heads/master@{#361094}

Patch Set 1 #

Patch Set 2 : Remove now unused InspectorPaintImageEvent::data function #

Patch Set 3 : Keep imageForCurrentFrame() call #

Patch Set 4 : ... and remove the corresponding InspectorPaintImageEvent::data #

Patch Set 5 : Update comments only #

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

Messages

Total messages: 32 (11 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/1454373005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454373005/1
5 years, 1 month ago (2015-11-20 12:18:22 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-20 13:55:20 UTC) #5
davve
The imageForFrame call doesn't do what the comment claims anyway: "To get an accurate answer ...
5 years, 1 month ago (2015-11-20 14:15:11 UTC) #8
fs
My only qualm with this is that "is opaque"-mechanism seems to be flaky at best ...
5 years, 1 month ago (2015-11-20 14:21:52 UTC) #9
f(malita)
On 2015/11/20 14:15:11, David Vest wrote: > The imageForFrame call doesn't do what the comment ...
5 years, 1 month ago (2015-11-20 14:49:12 UTC) #10
fs
On 2015/11/20 at 14:49:12, fmalita wrote: > On 2015/11/20 14:15:11, David Vest wrote: > > ...
5 years, 1 month ago (2015-11-20 15:34:46 UTC) #11
davve
On 2015/11/20 15:34:46, fs wrote: > On 2015/11/20 at 14:49:12, fmalita wrote: > > I'm ...
5 years, 1 month ago (2015-11-20 16:16:02 UTC) #12
fs
On 2015/11/20 at 16:16:02, davve wrote: > On 2015/11/20 15:34:46, fs wrote: > > On ...
5 years, 1 month ago (2015-11-20 16:33:20 UTC) #13
davve
On 2015/11/20 16:33:20, fs wrote: > Just to clarify, what I meant was that the ...
5 years, 1 month ago (2015-11-20 16:53:38 UTC) #14
fs
On 2015/11/20 at 16:53:38, davve wrote: > On 2015/11/20 16:33:20, fs wrote: > > > ...
5 years, 1 month ago (2015-11-20 16:56:09 UTC) #15
f(malita)
On 2015/11/20 16:56:09, fs wrote: > On 2015/11/20 at 16:53:38, davve wrote: > > On ...
5 years, 1 month ago (2015-11-20 17:06:43 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/1454373005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454373005/40001
5 years, 1 month ago (2015-11-23 07:51:49 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454373005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454373005/60001
5 years, 1 month ago (2015-11-23 07:55:54 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/138746)
5 years, 1 month ago (2015-11-23 09:05:20 UTC) #23
davve
On 2015/11/23 09:05:20, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
5 years, 1 month ago (2015-11-23 09:41:09 UTC) #24
fs
On 2015/11/23 at 09:41:09, davve wrote: > On 2015/11/23 09:05:20, commit-bot: I haz the power ...
5 years, 1 month ago (2015-11-23 11:15:26 UTC) #25
davve
On 2015/11/23 11:15:26, fs wrote: > On 2015/11/23 at 09:41:09, davve wrote: > > On ...
5 years, 1 month ago (2015-11-23 13:10:44 UTC) #27
fs
On 2015/11/23 at 13:10:44, davve wrote: > On 2015/11/23 11:15:26, fs wrote: > > On ...
5 years, 1 month ago (2015-11-23 13:20:08 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454373005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454373005/80001
5 years, 1 month ago (2015-11-23 13:27:17 UTC) #30
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-11-23 13:32:04 UTC) #31
commit-bot: I haz the power
5 years, 1 month ago (2015-11-23 13:33:08 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b36e66be08af9935c7ef51c6bf1fdce45fed61f2
Cr-Commit-Position: refs/heads/master@{#361094}

Powered by Google App Engine
This is Rietveld 408576698