From b3c7bb7ae9c7f3c6badad1a258bd29a145dfa458 Mon Sep 17 00:00:00 2001 From: gaaclarke <30870216+gaaclarke@users.noreply.github.com> Date: Mon, 6 Apr 2020 15:02:47 -0700 Subject: [PATCH] Added missing declaration (only showed up in g3 builds). (flutter/engine#17535) --- .../platform/darwin/ios/framework/Source/SemanticsObject.h | 2 ++ .../darwin/ios/framework/Source/accessibility_bridge.mm | 2 ++ 2 files changed, 4 insertions(+) diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/SemanticsObject.h b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/SemanticsObject.h index 575b978ab2..ba7c4689be 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/SemanticsObject.h +++ b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/SemanticsObject.h @@ -14,6 +14,7 @@ constexpr int32_t kRootNodeId = 0; +@class FlutterCustomAccessibilityAction; @class FlutterPlatformViewSemanticsContainer; /** @@ -92,6 +93,7 @@ constexpr int32_t kRootNodeId = 0; - (BOOL)nodeWillCauseScroll:(const flutter::SemanticsNode*)node; - (void)collectRoutes:(NSMutableArray*)edges; - (NSString*)routeName; +- (BOOL)onCustomAccessibilityAction:(FlutterCustomAccessibilityAction*)action; @end diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/accessibility_bridge.mm b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/accessibility_bridge.mm index 2957489fb4..c9c147bdac 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/accessibility_bridge.mm +++ b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/accessibility_bridge.mm @@ -7,6 +7,8 @@ #include "flutter/shell/platform/darwin/ios/platform_view_ios.h" +#pragma GCC diagnostic error "-Wundeclared-selector" + FLUTTER_ASSERT_NOT_ARC namespace flutter {