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

Issue 2663153002: Fix id tracking bug in ICCProfile (Closed)

Created:
3 years, 10 months ago by ccameron
Modified:
3 years, 10 months ago
Reviewers:
Justin Novosad
CC:
chromium-reviews, krit, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, Stephen Chennney, dshwang, pdr+graphicswatchlist_chromium.org, jbroman, Rik, f(malita), blink-reviews, kinuko+watch, ajuma+watch_chromium.org, danakj+watch_chromium.org, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix id tracking bug in ICCProfile ICCProfiles are given an id when they are created, and are assumed to be unique. This breaks down in some tests, where we create ICCProfiles in the browser and send them to the renderer (as usual), but then also create test ICCProfiles in the in the renderer, that can conflict with the ids provided by the browser. Fix this by using hard-coded ids for the test ICCProfiles that are created by the renderer. BUG=634102 Review-Url: https://codereview.chromium.org/2663153002 Cr-Commit-Position: refs/heads/master@{#447874} Committed: https://chromium.googlesource.com/chromium/src/+/9b2a0b1bc7034aa17ede1914e0620d3f71fe8dec

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -13 lines) Patch
M third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp View 1 chunk +3 lines, -2 lines 1 comment Download
M ui/gfx/icc_profile.h View 1 chunk +16 lines, -0 lines 0 comments Download
M ui/gfx/icc_profile.cc View 4 chunks +15 lines, -3 lines 0 comments Download
M ui/gfx/test/icc_profiles.cc View 1 chunk +9 lines, -8 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (8 generated)
ccameron
ptal -- I wanted to chop this part off from the larger patch
3 years, 10 months ago (2017-01-31 05:35:56 UTC) #4
ccameron
ping
3 years, 10 months ago (2017-02-01 19:41:20 UTC) #7
ccameron
ping again
3 years, 10 months ago (2017-02-02 17:21:56 UTC) #8
Justin Novosad
lgtm
3 years, 10 months ago (2017-02-02 19:13:19 UTC) #9
Justin Novosad
https://codereview.chromium.org/2663153002/diff/1/third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp File third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp (right): https://codereview.chromium.org/2663153002/diff/1/third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp#newcode37 third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp:37: gTargetColorSpace = space.release(); Drive by meta comment: Just checking... ...
3 years, 10 months ago (2017-02-02 19:22:06 UTC) #10
Justin Novosad
On 2017/02/02 19:22:06, Justin Novosad wrote: > The target color space should really hand > ...
3 years, 10 months ago (2017-02-02 19:23:20 UTC) #11
ccameron
On 2017/02/02 19:22:06, Justin Novosad wrote: > https://codereview.chromium.org/2663153002/diff/1/third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp > File third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp (right): > > https://codereview.chromium.org/2663153002/diff/1/third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp#newcode37 ...
3 years, 10 months ago (2017-02-02 20:38:44 UTC) #12
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/2663153002/1
3 years, 10 months ago (2017-02-02 20:40:18 UTC) #14
commit-bot: I haz the power
3 years, 10 months ago (2017-02-02 23:29:53 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/9b2a0b1bc7034aa17ede1914e062...

Powered by Google App Engine
This is Rietveld 408576698