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

Issue 554033002: [Mac] Add a new WebSandboxSupport method to get the display's color space. (Closed)

Created:
6 years, 3 months ago by Robert Sesek
Modified:
6 years, 3 months ago
CC:
blink-reviews, jamesr, dglazkov+blink, abarth-chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Remove the Mac-specific path for getting the color space in ImageDecoder. This path required a connection to the WindowServer, which should be avoided (see the two bugs for details). Instead this data can be retrieved via the ColorProfile class, which can access a value that has been cached during pre-sandbox warmup. BUG=397642, 306348 R=noel@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181761

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Change approach #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -15 lines) Patch
M Source/platform/image-decoders/ImageDecoder.h View 1 2 2 chunks +0 lines, -15 lines 0 comments Download

Messages

Total messages: 36 (7 generated)
Avi (use Gerrit)
LGTM https://codereview.chromium.org/554033002/diff/1/public/platform/mac/WebSandboxSupport.h File public/platform/mac/WebSandboxSupport.h (right): https://codereview.chromium.org/554033002/diff/1/public/platform/mac/WebSandboxSupport.h#newcode59 public/platform/mac/WebSandboxSupport.h:59: // Returns the color space for the current ...
6 years, 3 months ago (2014-09-08 20:14:56 UTC) #2
Ken Russell (switch to Gerrit)
LGTM, but I'm not an OWNER in public/ . https://codereview.chromium.org/554033002/diff/1/public/platform/mac/WebSandboxSupport.h File public/platform/mac/WebSandboxSupport.h (right): https://codereview.chromium.org/554033002/diff/1/public/platform/mac/WebSandboxSupport.h#newcode59 public/platform/mac/WebSandboxSupport.h:59: ...
6 years, 3 months ago (2014-09-08 21:34:57 UTC) #3
Robert Sesek
6 years, 3 months ago (2014-09-08 21:36:35 UTC) #5
Robert Sesek
https://codereview.chromium.org/554033002/diff/1/public/platform/mac/WebSandboxSupport.h File public/platform/mac/WebSandboxSupport.h (right): https://codereview.chromium.org/554033002/diff/1/public/platform/mac/WebSandboxSupport.h#newcode59 public/platform/mac/WebSandboxSupport.h:59: // Returns the color space for the current display. ...
6 years, 3 months ago (2014-09-08 21:37:26 UTC) #6
Robert Sesek
jamesr: Please review (sorry my initial message wasn't clear).
6 years, 3 months ago (2014-09-09 13:51:53 UTC) #7
jamesr
I thought Noel was working on pushing this down to the renderer rather than having ...
6 years, 3 months ago (2014-09-09 20:03:47 UTC) #8
Robert Sesek
On 2014/09/09 20:03:47, jamesr wrote: > I thought Noel was working on pushing this down ...
6 years, 3 months ago (2014-09-09 20:18:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsesek@chromium.org/554033002/20001
6 years, 3 months ago (2014-09-09 21:06:39 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/22762)
6 years, 3 months ago (2014-09-09 21:23:49 UTC) #13
Noel Gordon
On 2014/09/08 20:14:56, Avi wrote: > It's rather a bummer that we can't properly support ...
6 years, 3 months ago (2014-09-10 07:45:13 UTC) #14
Noel Gordon
On 2014/09/08 21:37:26, rsesek wrote: > https://codereview.chromium.org/554033002/diff/1/public/platform/mac/WebSandboxSupport.h > File public/platform/mac/WebSandboxSupport.h (right): > > https://codereview.chromium.org/554033002/diff/1/public/platform/mac/WebSandboxSupport.h#newcode59 > ...
6 years, 3 months ago (2014-09-10 07:59:34 UTC) #15
Noel Gordon
On 2014/09/09 20:03:47, jamesr wrote: > I thought Noel was working on pushing this down ...
6 years, 3 months ago (2014-09-10 08:02:13 UTC) #16
Noel Gordon
On 2014/09/09 21:23:49, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 3 months ago (2014-09-10 08:05:55 UTC) #17
Noel Gordon
On 2014/09/09 20:18:49, rsesek wrote: > On 2014/09/09 20:03:47, jamesr wrote: > > I thought ...
6 years, 3 months ago (2014-09-10 08:27:47 UTC) #18
Noel Gordon
https://codereview.chromium.org/554033002/diff/20001/Source/platform/image-decoders/ImageDecoder.h File Source/platform/image-decoders/ImageDecoder.h (right): https://codereview.chromium.org/554033002/diff/20001/Source/platform/image-decoders/ImageDecoder.h#newcode203 Source/platform/image-decoders/ImageDecoder.h:203: CGColorSpaceRef monitorColorSpace = Platform::current()->sandboxSupport()->displayColorSpace(); As asked on the other ...
6 years, 3 months ago (2014-09-10 08:46:27 UTC) #20
Robert Sesek
On 2014/09/10 08:27:47, Noel Gordon wrote: > On 2014/09/09 20:18:49, rsesek wrote: > > On ...
6 years, 3 months ago (2014-09-10 14:33:54 UTC) #21
Noel Gordon
Thanks for the details, screenColorProfile() should work, though we'd need to do it stages I ...
6 years, 3 months ago (2014-09-10 15:14:59 UTC) #22
Robert Sesek
On 2014/09/10 15:14:59, Noel Gordon wrote: > Thanks for the details, screenColorProfile() should work, though ...
6 years, 3 months ago (2014-09-10 15:27:51 UTC) #23
Noel Gordon
On 2014/09/10 15:27:51, rsesek wrote: > That sounds like a good plan, however I don't ...
6 years, 3 months ago (2014-09-10 15:50:59 UTC) #24
Noel Gordon
On 2014/09/10 15:27:51, rsesek wrote: Anyho, the color profile IPC is for the pull model, ...
6 years, 3 months ago (2014-09-10 16:58:39 UTC) #25
Robert Sesek
On 2014/09/10 16:58:39, Noel Gordon wrote: > On 2014/09/10 15:27:51, rsesek wrote: > > Anyho, ...
6 years, 3 months ago (2014-09-10 17:24:48 UTC) #27
Noel Gordon
On 2014/09/10 17:24:48, rsesek wrote: > > > > on mac we have renderer_host/render_widget_host_view_mac.mm move ...
6 years, 3 months ago (2014-09-10 18:19:26 UTC) #28
Robert Sesek
On 2014/09/10 18:19:26, Noel Gordon wrote: > On 2014/09/10 17:24:48, rsesek wrote: > > > ...
6 years, 3 months ago (2014-09-10 18:23:29 UTC) #29
Noel Gordon
On 2014/09/10 17:24:48, rsesek wrote: > On 2014/09/10 16:58:39, Noel Gordon wrote: > > Is ...
6 years, 3 months ago (2014-09-10 18:27:24 UTC) #30
Noel Gordon
And patch lgtm btw :)
6 years, 3 months ago (2014-09-10 18:28:26 UTC) #31
Robert Sesek
On 2014/09/10 18:27:24, Noel Gordon wrote: > On 2014/09/10 17:24:48, rsesek wrote: > > On ...
6 years, 3 months ago (2014-09-10 18:37:17 UTC) #32
Noel Gordon
On 2014/09/10 18:23:29, rsesek wrote: > On 2014/09/10 18:19:26, Noel Gordon wrote: > > On ...
6 years, 3 months ago (2014-09-10 18:46:02 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsesek@chromium.org/554033002/60001
6 years, 3 months ago (2014-09-10 20:02:24 UTC) #35
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 20:12:02 UTC) #36
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as 181761

Powered by Google App Engine
This is Rietveld 408576698