diff --git a/shell/platform/darwin/macos/framework/Source/AccessibilityBridgeMac.mm b/shell/platform/darwin/macos/framework/Source/AccessibilityBridgeMac.mm index a0ce01dd3aeca..d124bcfe34826 100644 --- a/shell/platform/darwin/macos/framework/Source/AccessibilityBridgeMac.mm +++ b/shell/platform/darwin/macos/framework/Source/AccessibilityBridgeMac.mm @@ -216,30 +216,6 @@ break; } case ui::AXEventGenerator::Event::LIVE_REGION_CHANGED: { - if (@available(macOS 10.14, *)) { - // Do nothing on macOS >=10.14. - } else { - // Uses the announcement API to get around OS <= 10.13 VoiceOver bug - // where it stops announcing live regions after the first time focus - // leaves any content area. - // Unfortunately this produces an annoying boing sound with each live - // announcement, but the alternative is almost no live region support. - NSString* announcement = [[NSString alloc] - initWithUTF8String:mac_platform_node_delegate->GetLiveRegionText().c_str()]; - NSDictionary* notification_info = @{ - NSAccessibilityAnnouncementKey : announcement, - NSAccessibilityPriorityKey : @(NSAccessibilityPriorityLow) - }; - // Triggers VoiceOver speech and show on Braille display, if available. - // The Braille will only appear for a few seconds, and then will be replaced - // with the previous announcement. - events.push_back({ - .name = NSAccessibilityAnnouncementRequestedNotification, - .target = [NSApp mainWindow], - .user_info = notification_info, - }); - break; - } // Uses native VoiceOver support for live regions. events.push_back({ .name = kAccessibilityLiveRegionChangedNotification, diff --git a/vulkan/procs/vulkan_interface.h b/vulkan/procs/vulkan_interface.h index 089ae829eb8f9..2d01ed72b7143 100644 --- a/vulkan/procs/vulkan_interface.h +++ b/vulkan/procs/vulkan_interface.h @@ -24,14 +24,6 @@ #endif // VK_USE_PLATFORM_FUCHSIA #endif // OS_FUCHSIA -// TODO(dnfield): vulkan_metal.h has some unguarded availability checks for -// macOS 10.13. We can remove this if we bump to 10.14 or if that gets fixed -// upstream, but fixing it upstream will take some time to flow through to -// ANGLE's DEPS. -#ifdef VK_USE_PLATFORM_METAL_EXT -#undef VK_USE_PLATFORM_METAL_EXT -#endif // VK_USE_PLATFORM_METAL_EXT - #include #define VK_CALL_LOG_ERROR(expression) \