RELAND: Ozone X11 check X display on initialization.
Add a CHECK that XOpenDisplay() doesn't return null when initializing Ozone X11. There is no point going any further, we are going to crash somewhere else and the crash stack isn't going to be as obvious. Original change in https://crrev.com/c/980596. Reland change with call to XInitThreaded() first still to avoid crashes. Bug: 806508 Change-Id: I0ca480b140da702946b4b75cd93c63cd388fdfca Reviewed-on: https://chromium-review.googlesource.com/997894Reviewed-by:Sadrul Chowdhury <sadrul@chromium.org> Commit-Queue: kylechar <kylechar@chromium.org> Cr-Commit-Position: refs/heads/master@{#548754}
Showing
Please register or sign in to comment