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

Issue 2359643002: color: Make images without embedded profiles sRGB by default (Closed)

Created:
4 years, 3 months ago by ccameron
Modified:
4 years, 3 months ago
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

color: Make images without embedded profiles sRGB by default This is only under the --enable-color-correct-rendering flag. BUG=44872 Committed: https://crrev.com/1614d49c8ff84f43b6d5abdfa6e78beec18101c4 Cr-Commit-Position: refs/heads/master@{#420157}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Use DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp View 1 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
ccameron
I somehow missed this my first time through adding SkColorSpaces to decoded images...
4 years, 3 months ago (2016-09-20 22:54:40 UTC) #2
scroggo
lgtm
4 years, 3 months ago (2016-09-21 11:46:07 UTC) #4
msarett
https://codereview.chromium.org/2359643002/diff/1/third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp File third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp (right): https://codereview.chromium.org/2359643002/diff/1/third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp#newcode109 third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp:109: colorSpace = SkColorSpace::NewICC(newIccProfile.data(), newIccProfile.size()); NewICC() might fail (return nullptr) ...
4 years, 3 months ago (2016-09-21 12:06:40 UTC) #6
ccameron
Thanks! https://codereview.chromium.org/2359643002/diff/1/third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp File third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp (right): https://codereview.chromium.org/2359643002/diff/1/third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp#newcode109 third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp:109: colorSpace = SkColorSpace::NewICC(newIccProfile.data(), newIccProfile.size()); On 2016/09/21 12:06:40, msarett ...
4 years, 3 months ago (2016-09-21 18:23:02 UTC) #7
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/2359643002/20001
4 years, 3 months ago (2016-09-21 18:23:42 UTC) #10
msarett
https://codereview.chromium.org/2359643002/diff/1/third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp File third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp (right): https://codereview.chromium.org/2359643002/diff/1/third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp#newcode109 third_party/WebKit/Source/platform/image-decoders/ImageFrame.cpp:109: colorSpace = SkColorSpace::NewICC(newIccProfile.data(), newIccProfile.size()); On 2016/09/21 18:23:02, ccameron wrote: ...
4 years, 3 months ago (2016-09-21 18:28:43 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/264037)
4 years, 3 months ago (2016-09-21 18:34:22 UTC) #13
ccameron
On 2016/09/21 18:34:22, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 3 months ago (2016-09-21 19:43:22 UTC) #14
scroggo_chromium
On 2016/09/21 19:43:22, ccameron wrote: > On 2016/09/21 18:34:22, commit-bot: I haz the power wrote: ...
4 years, 3 months ago (2016-09-21 19:51:06 UTC) #15
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/2359643002/20001
4 years, 3 months ago (2016-09-21 20:05:03 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-21 20:47:54 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-21 20:50:10 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1614d49c8ff84f43b6d5abdfa6e78beec18101c4
Cr-Commit-Position: refs/heads/master@{#420157}

Powered by Google App Engine
This is Rietveld 408576698