Remove strict check from ColorTypeForVisual()
When running xvfb, the R,G,B color masks will all be 0. To prevent breaking this configuration, remove the strict check from ColorTypeForVisual() and silently continue without graphics. R=msisov Change-Id: Iab55663c0f9541060ca231c679ab75f2c85eba30 Bug: 1025266, 1049066 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2047767Reviewed-by:Maksim Sisov <msisov@igalia.com> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#740341}
Showing
Please register or sign in to comment