-
Maksim Sisov authored
When use_x11 && use_ozone are set to true at the same time, compiler throws an error about multiple definitions of the CreateDesktopScreen. Thus, to fix that, create a separate source file for is_linux case that will choose what DesktopScreen to use based on the IsUsingOzonePlatform feature flag. Please note that this is a temp solution and it will be removed once use_x11 goes away. Please note that it's impossible to build use_x11 && use_ozone without some hacks in PlatformCursor code. The changes to that are on their way to upstream. Bug: 1085700 Change-Id: I8710809572cc82d514ee64af1fe9a6a1eff73cd9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2247719Reviewed-by:
Robert Kroeger <rjkroege@chromium.org> Reviewed-by:
Thomas Anderson <thomasanderson@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Commit-Queue: Maksim Sisov <msisov@igalia.com> Cr-Commit-Position: refs/heads/master@{#779213}
57bfb02f