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

Issue 2605743002: Use consistent types for ICC profiles (Closed)

Created:
3 years, 12 months ago by ccameron
Modified:
3 years, 11 months ago
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, creis+watch_chromium.org, danakj+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, einbinder+watch-test-runner_chromium.org, f(malita), jam, jbroman, jochen+watch_chromium.org, Justin Novosad, kinuko+watch, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, nasko+codewatch_chromium.org, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use consistent types for ICC profiles In Blink we convert from a gfx::ICCProfile to a raw vector of data. Stop doing this, and, instead, pass the gfx::ICCProfile (or its gfx::ColorSpace or SkColorSpace, as appropriate). Merge several locations where we store ICC profiles for testing into ui/gfx/test/icc_profiles. BUG=634102 TBR=esprehn Committed: https://crrev.com/0b283e725b6489c7be426f1958419d19e8b348b7 Cr-Commit-Position: refs/heads/master@{#441004}

Patch Set 1 #

Patch Set 2 : Merge test ICC profiles, too #

Patch Set 3 : More cleanup #

Patch Set 4 : Fix windows build #

Patch Set 5 : No export for static lib #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+286 lines, -1013 lines) Patch
M content/renderer/render_view_impl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 chunks +6 lines, -6 lines 0 comments Download
M content/renderer/render_widget.h View 3 chunks +2 lines, -6 lines 0 comments Download
M content/renderer/render_widget.cc View 3 chunks +4 lines, -17 lines 0 comments Download
M content/renderer/render_widget_owner_delegate.h View 2 chunks +4 lines, -3 lines 0 comments Download
M content/test/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/test/layouttest_support.cc View 1 3 chunks +6 lines, -544 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ColorBehavior.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp View 1 2 2 chunks +6 lines, -5 lines 3 comments Download
M third_party/WebKit/Source/platform/testing/ImageDecodeBench.cpp View 1 3 chunks +4 lines, -59 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/public/web/WebView.h View 1 2 chunks +6 lines, -2 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 4 2 chunks +2 lines, -1 line 0 comments Download
M ui/gfx/color_space.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/color_space.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M ui/gfx/color_transform_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
D ui/gfx/icc_profile_unittest.h View 1 1 chunk +0 lines, -10 lines 0 comments Download
M ui/gfx/icc_profile_unittest.cc View 1 1 chunk +1 line, -308 lines 0 comments Download
A + ui/gfx/test/icc_profiles.h View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
A + ui/gfx/test/icc_profiles.cc View 1 2 chunks +229 lines, -39 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 36 (23 generated)
ccameron
Adding chrishtr for third_party/WebKit/public/web/ Adding esprehn for OWNER of remaining WebKit Adding avi for OWNER ...
3 years, 11 months ago (2016-12-28 14:28:07 UTC) #19
Avi (use Gerrit)
The code LGTM; it's kinda weird that you're using "color space" everywhere rather than "color ...
3 years, 11 months ago (2016-12-28 16:09:41 UTC) #20
jbroman
https://codereview.chromium.org/2605743002/diff/80001/third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp File third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp (right): https://codereview.chromium.org/2605743002/diff/80001/third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp#newcode34 third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp:34: // Ensure that the color space object be leaked. ...
3 years, 11 months ago (2016-12-28 17:08:20 UTC) #21
ccameron
On 2016/12/28 16:09:41, Avi wrote: > The code LGTM; it's kinda weird that you're using ...
3 years, 11 months ago (2016-12-28 21:52:52 UTC) #22
ccameron
https://codereview.chromium.org/2605743002/diff/80001/third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp File third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp (right): https://codereview.chromium.org/2605743002/diff/80001/third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp#newcode34 third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp:34: // Ensure that the color space object be leaked. ...
3 years, 11 months ago (2016-12-28 21:52:56 UTC) #23
jbroman
https://codereview.chromium.org/2605743002/diff/80001/third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp File third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp (right): https://codereview.chromium.org/2605743002/diff/80001/third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp#newcode34 third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp:34: // Ensure that the color space object be leaked. ...
3 years, 11 months ago (2016-12-29 00:09:29 UTC) #24
chrishtr
lgtm
3 years, 11 months ago (2016-12-29 01:18:21 UTC) #25
chrishtr
lgtm
3 years, 11 months ago (2016-12-29 01:18:24 UTC) #26
chrishtr
lgtm
3 years, 11 months ago (2016-12-29 01:18:24 UTC) #27
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/2605743002/80001
3 years, 11 months ago (2016-12-29 21:01:09 UTC) #30
commit-bot: I haz the power
Committed patchset #5 (id:80001)
3 years, 11 months ago (2016-12-29 23:45:33 UTC) #33
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/0b283e725b6489c7be426f1958419d19e8b348b7 Cr-Commit-Position: refs/heads/master@{#441004}
3 years, 11 months ago (2017-01-02 15:53:47 UTC) #35
engedy
3 years, 11 months ago (2017-01-02 16:59:57 UTC) #36
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/2609093002/ by engedy@chromium.org.

The reason for reverting is: Rebaselining not possible due to discrepancy
between test outputs produced by continuous builders vs. try jobs. See
crbug.com/677822 for details.

Speculatively reverting this CL as it has to do with ICC profiles and I am
mostly seeing differences of color shades in pixel diffs.

.

Powered by Google App Engine
This is Rietveld 408576698