Surface synchronization: Only turn off top level deadlines on Linux desktop

Previously, in https://chromium-review.googlesource.com/c/chromium/src/+/944569
we turned off deadlines for synchronizing UI with top level renderers in order
to avoid large black gutters that are produced by the desktop operating system.

The ifdef I used was OS_LINUX which also captures Chrome OS. This was not
intended. This CL changes the OS_LINUX to USE_X11 so that we only disable
deadlines on Linux Desktop.

Bug: 672962
Change-Id: I2e816eac838d6402142d350deb630554dc83d440
Reviewed-on: https://chromium-review.googlesource.com/949066
Reviewed-by: Saman Sami <samans@chromium.org>
Commit-Queue: Fady Samuel <fsamuel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#540870}
1 file changed