Comment #21 on issue 21658 by [email protected]: All webpages are painted  
white
http://code.google.com/p/chromium/issues/detail?id=21658

This bug is fixed.  I just wanted to note some additional findings now that  
I've had a
chance to play around with display-less systems.

When there's no display connected and no GUI session up and you just SSH in,
CGGetOnlineDisplayList fails with kCGErrorNoneAvailable, CGMainDisplayID  
returns kCGNullDirectDisplay (0), and  
CGDisplayCopyColorSpace(kCGNullDirectDisplay) is
NULL.

In a GUI session over VNC with no display connected, these calls all work  
and refer to
a pseudo display and it's possible to get a color space out of them.  It's  
presumably
generic, but that's fine, because what else can you do when there's no real  
display?

The fallback to a generic color space that I added will cover us in this  
case where the
system doesn't give back any displays because none are connected.  That  
might seem
silly because we're a GUI app and it doesn't make any sense to run it  
without any
displays, but having the fallback in place can save headless systems like  
layout test
bots that don't have any displays connected.  (Our bots all have something  
plugged
into the display port at present, but we shouldn't have to require that,  
and we now
don't.)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to