DescriptionMac: Split SystemMonitor initialization so it's not blocked by the Sandbox.
In OS X 10.7 Lion, the IO port we listen on to monitor system power events is blocked by the Sandbox.
Move the allocation of the IO port so it happens early on during Chrome startup.
BUG=83783
TEST=When putting a system to sleep with Chrome running, the browser shouldn't crash. Also, need to monitor crash logs to see that this crash goes away.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91462
Patch Set 1 #Patch Set 2 : Rebase + make tests pass. #Patch Set 3 : Fix Tests #Patch Set 4 : Really Fix Tests #Patch Set 5 : Synced to trunk #
Messages
Total messages: 6 (0 generated)
|