DescriptionFix mus-in-renderer scale factor crash
Currently --mus-in-renderer crashes the renderer process on startup. The
WindowTreeClient attempts to check the display scale factor, but the screen
is not being set in that process.
This change returns a default scale factor when there is no available screen.
This will become redundant once aura-mus is ready, as proper screens will
be available.
TEST=manually ran --mus-in-renderer renderer works and paints.
BUG=631270
Committed: https://crrev.com/d8cdf0429c899039b2b903888a680bce541c8cf4
Cr-Commit-Position: refs/heads/master@{#435102}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Jon needs to proof-read his comments #Messages
Total messages: 11 (5 generated)
|