Bug 1707816 - widget/gtk/nsWindow.cpp:7930:6: error: #elif with no expression r=stransky

Differential Revision: https://phabricator.services.mozilla.com/D113484
This commit is contained in:
Petr Sumbera 2021-04-27 08:24:41 +00:00
parent 70c427c36f
commit dfc4ffc639

View File

@ -7927,7 +7927,7 @@ bool nsWindow::UseFractionalScale() {
return (GdkIsWaylandDisplay() && return (GdkIsWaylandDisplay() &&
StaticPrefs::widget_wayland_fractional_buffer_scale() > 0 && StaticPrefs::widget_wayland_fractional_buffer_scale() > 0 &&
WaylandDisplayGet()->GetViewporter()); WaylandDisplayGet()->GetViewporter());
#elif #else
return false; return false;
#endif #endif
} }