diff --git a/Ladybird/WebContent/main.cpp b/Ladybird/WebContent/main.cpp index 3876ac73a97..6d2fc0bb5cc 100644 --- a/Ladybird/WebContent/main.cpp +++ b/Ladybird/WebContent/main.cpp @@ -154,8 +154,13 @@ ErrorOr serenity_main(Main::Arguments arguments) #if defined(AK_OS_MACOS) if (!mach_server_name.is_empty()) { - auto server_port = Core::Platform::register_with_mach_server(mach_server_name); + [[maybe_unused]] auto server_port = Core::Platform::register_with_mach_server(mach_server_name); + + // FIXME: For some reason, our implementation of IOSurface does not work on Intel macOS. Remove this conditional + // compilation when that is resolved. +# if ARCH(AARCH64) WebContent::BackingStoreManager::set_browser_mach_port(move(server_port)); +# endif } #endif