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

Issue 2226733003: Color: Clean up color profile handling for layout tests (Closed)

Created:
4 years, 4 months ago by ccameron
Modified:
4 years, 3 months ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, nasko+codewatch_chromium.org, Peter Beverloo
Base URL:
https://chromium.googlesource.com/chromium/src.git@master2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Color: Clean up color profile handling for layout tests Allow layout tests to manually specify an output ICC profile through the ContentRendererClient. Match existing behavior on all platforms. This means: - on Mac, using a generic RGB profile - on Linux, not specifying a profile - on Windows, leave this as TODO, since correct behavior is unclear Remove layout_test_helper on Mac, since its only purpose was to set the system color space to the now-specified color space. Remove copyright exceptions for layout_test_helper as well. BUG=44872 Committed: https://crrev.com/41495f2551c63bea769afd6cc70f1c3593f3537f Cr-Commit-Position: refs/heads/master@{#416170}

Patch Set 1 #

Patch Set 2 : Fix link bug #

Patch Set 3 : Rebase #

Patch Set 4 : Fix windows #

Total comments: 3

Patch Set 5 : Rebase #

Patch Set 6 : Fix upstream #

Patch Set 7 : Update TODOs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -283 lines) Patch
M BUILD.gn View 1 2 3 4 1 chunk +1 line, -4 lines 0 comments Download
M build/all.gyp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M components/test_runner/BUILD.gn View 1 2 3 4 1 chunk +1 line, -6 lines 0 comments Download
M components/test_runner/helper/layout_test_helper_mac.mm View 1 1 chunk +0 lines, -264 lines 0 comments Download
M content/public/renderer/content_renderer_client.h View 1 2 3 4 2 chunks +8 lines, -1 line 0 comments Download
M content/public/renderer/content_renderer_client.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M content/shell/renderer/layout_test/layout_test_content_renderer_client.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/renderer/layout_test/layout_test_content_renderer_client.cc View 1 2 3 4 5 6 2 chunks +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac.py View 1 1 chunk +1 line, -2 lines 0 comments Download
M tools/copyright_scanner/third_party_files_whitelist.txt View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 38 (25 generated)
ccameron
ptal https://codereview.chromium.org/2226733003/diff/60001/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc File content/shell/renderer/layout_test/layout_test_content_renderer_client.cc (right): https://codereview.chromium.org/2226733003/diff/60001/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc#newcode208 content/shell/renderer/layout_test/layout_test_content_renderer_client.cc:208: LayoutTestContentRendererClient::GetImageDecodeColorProfile() { An alternative TODO here would be ...
4 years, 4 months ago (2016-08-09 07:11:08 UTC) #12
hubbe
Wouldn't it be better to use the same profile on all platforms rather than "match ...
4 years, 4 months ago (2016-08-09 16:57:40 UTC) #15
hubbe
https://codereview.chromium.org/2226733003/diff/60001/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc File content/shell/renderer/layout_test/layout_test_content_renderer_client.cc (right): https://codereview.chromium.org/2226733003/diff/60001/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc#newcode208 content/shell/renderer/layout_test/layout_test_content_renderer_client.cc:208: LayoutTestContentRendererClient::GetImageDecodeColorProfile() { On 2016/08/09 07:11:08, ccameron wrote: > An ...
4 years, 4 months ago (2016-08-09 16:59:54 UTC) #17
ccameron
On 2016/08/09 16:59:54, hubbe wrote: > https://codereview.chromium.org/2226733003/diff/60001/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc > File content/shell/renderer/layout_test/layout_test_content_renderer_client.cc > (right): > > https://codereview.chromium.org/2226733003/diff/60001/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc#newcode208 ...
4 years, 4 months ago (2016-08-09 17:06:45 UTC) #18
Dirk Pranke
lgtm https://codereview.chromium.org/2226733003/diff/60001/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc File content/shell/renderer/layout_test/layout_test_content_renderer_client.cc (right): https://codereview.chromium.org/2226733003/diff/60001/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc#newcode208 content/shell/renderer/layout_test/layout_test_content_renderer_client.cc:208: LayoutTestContentRendererClient::GetImageDecodeColorProfile() { On 2016/08/09 07:11:08, ccameron wrote: > ...
4 years, 4 months ago (2016-08-09 20:32:31 UTC) #19
ccameron
ping phadjan.jr
4 years, 4 months ago (2016-08-11 17:00:09 UTC) #20
Paweł Hajdan Jr.
LGTM (make sure to specify what I'm supposed to review)
4 years, 4 months ago (2016-08-17 13:49:12 UTC) #21
hubbe
lgtm
4 years, 4 months ago (2016-08-17 19:00:07 UTC) #22
ccameron
Adding sievers@ for content/ stamp
4 years, 3 months ago (2016-09-01 22:15:10 UTC) #26
no sievers
On 2016/09/01 22:15:10, ccameron (slow til Sept 1) wrote: > Adding sievers@ for content/ stamp ...
4 years, 3 months ago (2016-09-01 23:01:52 UTC) #31
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/2226733003/120001
4 years, 3 months ago (2016-09-01 23:49:10 UTC) #34
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-09-02 02:37:49 UTC) #36
commit-bot: I haz the power
4 years, 3 months ago (2016-09-02 02:39:21 UTC) #38
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/41495f2551c63bea769afd6cc70f1c3593f3537f
Cr-Commit-Position: refs/heads/master@{#416170}

Powered by Google App Engine
This is Rietveld 408576698