chromecast: Provide display information to display::Screen earlier
Chrome makes synchronous queries of screen geometry during startup. To satisfy these requests, assume the the first call to configure the primary display will succeed, and set this geometry in CastScreen synchronously in the startup case. DRM platform goes to great lengths to make this strategy work, by querying display information synchronously in the browser process prior to GPU process startup. It will also work for FakeDisplayDelegate. Cast platform is not affected by this change. BUG=b/74138444 TEST=chromecast browser tests Change-Id: I68f88b78c151f938f99ed393fe630ecfa5b86dbc Reviewed-on: https://chromium-review.googlesource.com/952099 Commit-Queue: Michael Spang <spang@chromium.org> Reviewed-by:Sergey Volk <servolk@chromium.org> Reviewed-by:
Daniel Nicoara <dnicoara@chromium.org> Cr-Commit-Position: refs/heads/master@{#541264}
Showing
Please register or sign in to comment