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

Issue 570023002: Move screenColorProfile from Platform to ImageDecoder (Closed)

Created:
6 years, 3 months ago by Noel Gordon
Modified:
6 years, 3 months ago
CC:
blink-reviews, dstockwell, mkwst+moarreviews_chromium.org, Robert Sesek, sugoi1
Project:
blink
Visibility:
Public.

Description

Move screenColorProfile from Platform to ImageDecoder Platform is the wrong place for screenColorprofile, where it was the only method there that did not know its Widget. ImageDecoder is the only caller currently, move it there. No change in behavior, covered by existing layout tests. BUG=369787 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181978

Patch Set 1 : #

Patch Set 2 : RVO: make screenColorProfile return the ColorProfile. #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -14 lines) Patch
M Source/platform/PlatformScreen.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/platform/PlatformScreen.cpp View 1 chunk +0 lines, -7 lines 0 comments Download
M Source/platform/image-decoders/ImageDecoder.h View 1 3 chunks +16 lines, -4 lines 6 comments Download

Messages

Total messages: 32 (9 generated)
Noel Gordon
6 years, 3 months ago (2014-09-15 02:40:41 UTC) #3
Noel Gordon
https://crbug.com/397321 for the intermittent win_blink_rel accelerated compositing CHECK failures during trys.
6 years, 3 months ago (2014-09-15 04:38:42 UTC) #4
Noel Gordon
Other earlier examples of the failure, from sept 12 http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/26866
6 years, 3 months ago (2014-09-15 04:41:25 UTC) #5
Noel Gordon
Commit bot doesn't see the same failure (looks like the try is misconfigured).
6 years, 3 months ago (2014-09-15 06:01:26 UTC) #6
Mike West
Drive-by LGTM (you'll still need a platform/ OWNER to stamp the CL). https://codereview.chromium.org/570023002/diff/40001/Source/platform/image-decoders/ImageDecoder.h File Source/platform/image-decoders/ImageDecoder.h ...
6 years, 3 months ago (2014-09-15 07:12:17 UTC) #9
Mike West
Drive-by LGTM (you'll still need a platform/ OWNER to stamp the CL). https://codereview.chromium.org/570023002/diff/40001/Source/platform/image-decoders/ImageDecoder.h File Source/platform/image-decoders/ImageDecoder.h ...
6 years, 3 months ago (2014-09-15 07:12:17 UTC) #10
Noel Gordon
https://codereview.chromium.org/570023002/diff/40001/Source/platform/image-decoders/ImageDecoder.h File Source/platform/image-decoders/ImageDecoder.h (right): https://codereview.chromium.org/570023002/diff/40001/Source/platform/image-decoders/ImageDecoder.h#newcode46 Source/platform/image-decoders/ImageDecoder.h:46: typedef Vector<char> ColorProfile; On 2014/09/15 07:12:16, Mike West wrote: ...
6 years, 3 months ago (2014-09-15 07:27:17 UTC) #11
Noel Gordon
On 2014/09/15 07:12:17, Mike West wrote: > Drive-by LGTM (you'll still need a platform/ OWNER ...
6 years, 3 months ago (2014-09-15 07:28:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/570023002/40001
6 years, 3 months ago (2014-09-15 07:32:02 UTC) #14
jochen (gone - plz use gerrit)
please wait for am owner to approve the patch. a drive by review like Mike's ...
6 years, 3 months ago (2014-09-15 07:50:24 UTC) #17
Noel Gordon
Doug is an owner.
6 years, 3 months ago (2014-09-15 08:13:46 UTC) #18
dstockwell
On 2014/09/15 at 08:13:46, noel wrote: > Doug is an owner. Sorry, I'm not a ...
6 years, 3 months ago (2014-09-15 08:31:29 UTC) #19
Noel Gordon
On 2014/09/15 08:31:29, dstockwell wrote: > On 2014/09/15 at 08:13:46, noel wrote: > > Doug ...
6 years, 3 months ago (2014-09-15 08:53:58 UTC) #20
Noel Gordon
Trying blink_win_try again, pinged the gardener about the blink_win_try issue https://crbug.com/397321
6 years, 3 months ago (2014-09-15 11:12:29 UTC) #22
jochen (gone - plz use gerrit)
https://codereview.chromium.org/570023002/diff/40001/Source/platform/image-decoders/ImageDecoder.h File Source/platform/image-decoders/ImageDecoder.h (right): https://codereview.chromium.org/570023002/diff/40001/Source/platform/image-decoders/ImageDecoder.h#newcode226 Source/platform/image-decoders/ImageDecoder.h:226: colorProfile.append(profile.data(), profile.size()); Why not just use the WebVector<>? You ...
6 years, 3 months ago (2014-09-15 12:46:02 UTC) #23
Noel Gordon
https://codereview.chromium.org/570023002/diff/40001/Source/platform/image-decoders/ImageDecoder.h File Source/platform/image-decoders/ImageDecoder.h (right): https://codereview.chromium.org/570023002/diff/40001/Source/platform/image-decoders/ImageDecoder.h#newcode226 Source/platform/image-decoders/ImageDecoder.h:226: colorProfile.append(profile.data(), profile.size()); On 2014/09/15 12:46:02, jochen wrote: > Why ...
6 years, 3 months ago (2014-09-15 12:55:53 UTC) #24
jochen (gone - plz use gerrit)
On 2014/09/15 at 12:55:53, noel wrote: > https://codereview.chromium.org/570023002/diff/40001/Source/platform/image-decoders/ImageDecoder.h > File Source/platform/image-decoders/ImageDecoder.h (right): > > https://codereview.chromium.org/570023002/diff/40001/Source/platform/image-decoders/ImageDecoder.h#newcode226 ...
6 years, 3 months ago (2014-09-15 12:57:41 UTC) #25
Noel Gordon
On 2014/09/15 12:57:41, jochen wrote: > On 2014/09/15 at 12:55:53, noel wrote: > > > ...
6 years, 3 months ago (2014-09-15 13:20:46 UTC) #26
jochen (gone - plz use gerrit)
On 2014/09/15 at 13:20:46, noel wrote: > On 2014/09/15 12:57:41, jochen wrote: > > On ...
6 years, 3 months ago (2014-09-15 14:09:04 UTC) #27
Noel Gordon
On 2014/09/15 14:09:04, jochen wrote: > can you clean this up in a follow up ...
6 years, 3 months ago (2014-09-15 14:14:29 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/570023002/40001
6 years, 3 months ago (2014-09-15 14:15:37 UTC) #30
commit-bot: I haz the power
Committed patchset #2 (id:40001) as 181978
6 years, 3 months ago (2014-09-15 14:16:15 UTC) #31
Noel Gordon
6 years, 3 months ago (2014-09-15 14:42:36 UTC) #32
Message was sent while issue was closed.
On 2014/09/15 14:14:29, Noel Gordon wrote:
> On 2014/09/15 14:09:04, jochen wrote:
>  
> > can you clean this up in a follow up patch? Just use a WebVector<>
everywhere.
> 
> Sure I can. The JPEGImageDecoder / PNGImageDecoder break if I typedef
> blink::WebVector<> ColorProfile.
> 
> Should be easy to fix, provided use of WebVector<> deeper in platform/graphics
> is ok with everyone?

Filed https://crbug.com/414282 about that.

Powered by Google App Engine
This is Rietveld 408576698