diff options
Diffstat (limited to 'chromium/services/shape_detection/text_detection_impl_mac.mm')
-rw-r--r-- | chromium/services/shape_detection/text_detection_impl_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/services/shape_detection/text_detection_impl_mac.mm b/chromium/services/shape_detection/text_detection_impl_mac.mm index 4a815f2b48d..f16a9335737 100644 --- a/chromium/services/shape_detection/text_detection_impl_mac.mm +++ b/chromium/services/shape_detection/text_detection_impl_mac.mm @@ -18,7 +18,7 @@ namespace shape_detection { // static void TextDetectionImpl::Create(mojom::TextDetectionRequest request) { // Text detection needs at least MAC OS X 10.11. - if (@available(macOS 10.11, *)) { + if (base::mac::IsAtLeastOS10_11()) { mojo::MakeStrongBinding(base::MakeUnique<TextDetectionImplMac>(), std::move(request)); } |