diff --git ui/base/x/x11_util.h ui/base/x/x11_util.h index ff12f942b61b7..97d17c3a46309 100644 --- ui/base/x/x11_util.h +++ ui/base/x/x11_util.h @@ -245,8 +245,9 @@ x11::Future SendClientMessage( x11::Window target, x11::Atom type, const std::array data, - x11::EventMask event_mask = x11::EventMask::SubstructureNotify | - x11::EventMask::SubstructureRedirect); + x11::EventMask event_mask = static_cast( + static_cast(x11::EventMask::SubstructureNotify) | + static_cast(x11::EventMask::SubstructureRedirect))); // Return true if VulkanSurface is supported. COMPONENT_EXPORT(UI_BASE_X) bool IsVulkanSurfaceSupported();