Avoid using X11 SHM for remote connections
This is a reland of [1], which was accidentally removed by [2]. The only difference is the gethostname() check is removed to address [3]. > For remote connections, SHM doesn't work, but the MIT-SHM extension > may still be available, so we need to do an explicit check before > trying to use SHM. [1] https://chromium.googlesource.com/chromium/src/+/633c011511bae4ff193ac007e3e8ba64287c1d89 [2] https://chromium.googlesource.com/chromium/src/+/12a86d61adf2520c177ed51aec6583f490e29f7d [3] https://bugs.chromium.org/p/chromium/issues/detail?id=1035803#c12 R=nickdiego BUG=1035803 Change-Id: I5b707de48a8c2991aaf73c347b29ef813a9c28b4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2062900 Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: Nick Yamane <nickdiego@igalia.com> Auto-Submit: Thomas Anderson <thomasanderson@chromium.org> Reviewed-by:Nick Yamane <nickdiego@igalia.com> Cr-Commit-Position: refs/heads/master@{#742312}
Showing
Please register or sign in to comment