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

Issue 2338213009: Always use valid enum values in gfx::ColorSpace (Closed)

Created:
4 years, 3 months ago by hubbe
Modified:
4 years, 3 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Always use valid enum values in gfx::ColorSpace As a bonus, we get warnings if you add a new enum value without updating gfx::ColorTransform. Committed: https://crrev.com/a54ef7e4e7e234b2bb95f2000b72da718cbbc610 Committed: https://crrev.com/1ce3ef909814ab9de65c09646c4f6c2b2e340d0c Cr-Original-Commit-Position: refs/heads/master@{#419552} Cr-Commit-Position: refs/heads/master@{#419615}

Patch Set 1 #

Patch Set 2 : fix compile errors #

Total comments: 2

Patch Set 3 : tests pass #

Patch Set 4 : fix LAST #

Patch Set 5 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -56 lines) Patch
M media/filters/ffmpeg_video_decoder.cc View 1 chunk +6 lines, -7 lines 0 comments Download
M ui/gfx/color_space.h View 1 2 3 4 chunks +18 lines, -5 lines 0 comments Download
M ui/gfx/color_space.cc View 2 chunks +36 lines, -0 lines 0 comments Download
M ui/gfx/color_transform.cc View 1 2 3 4 16 chunks +79 lines, -44 lines 0 comments Download

Messages

Total messages: 40 (28 generated)
hubbe
4 years, 3 months ago (2016-09-16 20:54:06 UTC) #4
sandersd (OOO until July 31)
lgtm. (I did not check your numbers or math against any specs.)
4 years, 3 months ago (2016-09-16 21:58:59 UTC) #9
ccameron
Also looks like there are some test failures https://codereview.chromium.org/2338213009/diff/20001/ui/gfx/color_space.h File ui/gfx/color_space.h (right): https://codereview.chromium.org/2338213009/diff/20001/ui/gfx/color_space.h#newcode52 ui/gfx/color_space.h:52: LAST ...
4 years, 3 months ago (2016-09-16 23:09:48 UTC) #12
hubbe
Tests fixed. https://codereview.chromium.org/2338213009/diff/20001/ui/gfx/color_space.h File ui/gfx/color_space.h (right): https://codereview.chromium.org/2338213009/diff/20001/ui/gfx/color_space.h#newcode52 ui/gfx/color_space.h:52: LAST = UNKNOWN On 2016/09/16 23:09:48, ccameron ...
4 years, 3 months ago (2016-09-16 23:25:35 UTC) #15
ccameron
lgtm
4 years, 3 months ago (2016-09-19 18:03:37 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/2338213009/40001
4 years, 3 months ago (2016-09-19 19:22:24 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-19 21:16:19 UTC) #22
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/a54ef7e4e7e234b2bb95f2000b72da718cbbc610 Cr-Commit-Position: refs/heads/master@{#419552}
4 years, 3 months ago (2016-09-19 21:18:17 UTC) #24
Dmitry Titov
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2352903002/ by dimich@chromium.org. ...
4 years, 3 months ago (2016-09-19 22:48:29 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/2338213009/80001
4 years, 3 months ago (2016-09-20 00:26:51 UTC) #36
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-20 01:04:40 UTC) #38
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 01:06:47 UTC) #40
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1ce3ef909814ab9de65c09646c4f6c2b2e340d0c
Cr-Commit-Position: refs/heads/master@{#419615}

Powered by Google App Engine
This is Rietveld 408576698