Fix crash in SkiaOutputDeviceX11 ctor
Probably the crash is because the window is destroyed, it causes X11 call failed, and then LOG(FATAL) causes crash. Fix the problem by adding SkiaOutputDeviceX11::Create() method, which will return null when X11 call fails. Bug: 1153556 Change-Id: Id19e51b4fd8f0540125609bb479532199d3a7d4a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2598582Reviewed-by:Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#838915}
Showing
Please register or sign in to comment