Replace X11 includes in viz with ui/gfx/x/x11.h
X11 header files are infamous for creating macros with common names such as None, True, False, Status, Bool, ... To save oursaves the mess that creates, they are now wrapped in a header, ui/gfx/x/x11.h, which puts those symbols in the x11 namespace and removes the global macros. Bug: 782184 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel Change-Id: Ida4d26422f44edda1a0120f52ffbaa4e437ab012 Reviewed-on: https://chromium-review.googlesource.com/805814Reviewed-by:danakj <danakj@chromium.org> Commit-Queue: Daniel Bratell <bratell@opera.com> Cr-Commit-Position: refs/heads/master@{#521740}
Showing
Please register or sign in to comment