forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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/+/2047767 Reviewed-by: Maksim Sisov <msisov@igalia.com> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#740341}
- Loading branch information
1 parent
b8bd599
commit f5b9b62
Showing
3 changed files
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters