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

Issue 2502703002: Add more robust gfx::ColorSpace<->gfx::ICCProfile conversion (Closed)

Created:
4 years, 1 month ago by ccameron
Modified:
4 years, 1 month ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add more robust gfx::ColorSpace<->gfx::ICCProfile conversion When a gfx::ICCProfile is created from a gfx::ColorSpace, store the original gfx::ColorSpace that it was created from, so that when gfx::ICCProfile::GetColorSpace is called, we can return the exact same original object. BUG=657946 Committed: https://crrev.com/b074f5f0a72f308e79120570fd3da24263f217c9 Cr-Commit-Position: refs/heads/master@{#432430}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Try to add enum #

Patch Set 3 : Fix mojoms #

Patch Set 4 : Clean up includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -18 lines) Patch
M ui/gfx/color_space.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M ui/gfx/icc_profile.h View 1 2 chunks +14 lines, -1 line 0 comments Download
M ui/gfx/icc_profile.cc View 1 2 4 chunks +27 lines, -7 lines 0 comments Download
M ui/gfx/ipc/color/gfx_param_traits_macros.h View 1 chunk +4 lines, -1 line 0 comments Download
M ui/gfx/mojo/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + ui/gfx/mojo/color_space.mojom View 1 2 1 chunk +2 lines, -5 lines 0 comments Download
A ui/gfx/mojo/color_space.typemap View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M ui/gfx/mojo/icc_profile.mojom View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M ui/gfx/mojo/icc_profile.typemap View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M ui/gfx/mojo/icc_profile_struct_traits.h View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
M ui/gfx/mojo/icc_profile_struct_traits.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 32 (16 generated)
ccameron
rockot@: do we have any how-to guides about adding mojo type support? In particular, for ...
4 years, 1 month ago (2016-11-14 19:37:23 UTC) #2
ccameron
I just made the nested enum public ... I'm content to ignore that issue for ...
4 years, 1 month ago (2016-11-14 20:23:13 UTC) #3
ccameron
ptal fsamuel@ helped me out by pointing out the use of [Native], so this is ...
4 years, 1 month ago (2016-11-14 22:04:46 UTC) #9
Ken Rockot(use gerrit already)
On 2016/11/14 at 19:37:23, ccameron wrote: > rockot@: do we have any how-to guides about ...
4 years, 1 month ago (2016-11-15 00:22:22 UTC) #14
ccameron
On 2016/11/15 00:22:22, Ken Rockot wrote: > On 2016/11/14 at 19:37:23, ccameron wrote: > > ...
4 years, 1 month ago (2016-11-15 00:26:51 UTC) #15
ccameron
ping
4 years, 1 month ago (2016-11-15 22:41:45 UTC) #16
Ken Rockot(use gerrit already)
LGTM - sorry, I didn't realize you were just waiting for me to review
4 years, 1 month ago (2016-11-15 22:59:42 UTC) #17
ccameron
On 2016/11/15 22:59:42, Ken Rockot wrote: > LGTM - sorry, I didn't realize you were ...
4 years, 1 month ago (2016-11-15 23:01:54 UTC) #18
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/2502703002/60001
4 years, 1 month ago (2016-11-15 23:07:48 UTC) #20
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/304949)
4 years, 1 month ago (2016-11-15 23:30:52 UTC) #22
ccameron
Adding dcheng@ for ipc OWNER
4 years, 1 month ago (2016-11-15 23:42:12 UTC) #24
dcheng
LGTM Just to confirm, this is still mostly about sending from browser to less privileged ...
4 years, 1 month ago (2016-11-16 01:17:01 UTC) #25
ccameron
On 2016/11/16 01:17:01, dcheng wrote: > LGTM > > Just to confirm, this is still ...
4 years, 1 month ago (2016-11-16 06:09:50 UTC) #26
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/2502703002/60001
4 years, 1 month ago (2016-11-16 06:10:35 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-16 08:35:30 UTC) #30
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 08:38:31 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b074f5f0a72f308e79120570fd3da24263f217c9
Cr-Commit-Position: refs/heads/master@{#432430}

Powered by Google App Engine
This is Rietveld 408576698