diff --git a/shell/platform/darwin/ios/framework/Source/accessibility_bridge_test.mm b/shell/platform/darwin/ios/framework/Source/accessibility_bridge_test.mm index affabb9d3baab..c19c130db0044 100644 --- a/shell/platform/darwin/ios/framework/Source/accessibility_bridge_test.mm +++ b/shell/platform/darwin/ios/framework/Source/accessibility_bridge_test.mm @@ -338,7 +338,7 @@ - (void)testAnnouncesLayoutChangeWithNilIfLastFocusIsRemoved { /*delegate=*/mock_delegate, /*rendering_api=*/flutter::IOSRenderingAPI::kSoftware, /*task_runners=*/runners); - id mockFlutterView = OCMClassMock([FlutterView class]); + id mockFlutterViewController = OCMClassMock([FlutterViewController class]); NSMutableArray*>* accessibility_notifications = [[[NSMutableArray alloc] init] autorelease]; @@ -351,7 +351,7 @@ - (void)testAnnouncesLayoutChangeWithNilIfLastFocusIsRemoved { }]; }; __block auto bridge = - std::make_unique(/*view=*/mockFlutterView, + std::make_unique(/*view_controller=*/mockFlutterViewController, /*platform_view=*/platform_view.get(), /*platform_views_controller=*/nil, /*ios_delegate=*/std::move(ios_delegate)); @@ -401,7 +401,7 @@ - (void)testAnnouncesLayoutChangeWithLastFocused { /*delegate=*/mock_delegate, /*rendering_api=*/flutter::IOSRenderingAPI::kSoftware, /*task_runners=*/runners); - id mockFlutterView = OCMClassMock([FlutterView class]); + id mockFlutterViewController = OCMClassMock([FlutterViewController class]); NSMutableArray*>* accessibility_notifications = [[[NSMutableArray alloc] init] autorelease]; @@ -414,7 +414,7 @@ - (void)testAnnouncesLayoutChangeWithLastFocused { }]; }; __block auto bridge = - std::make_unique(/*view=*/mockFlutterView, + std::make_unique(/*view_controller=*/mockFlutterViewController, /*platform_view=*/platform_view.get(), /*platform_views_controller=*/nil, /*ios_delegate=*/std::move(ios_delegate)); @@ -471,7 +471,7 @@ - (void)testAnnouncesScrollChangeWithLastFocused { /*delegate=*/mock_delegate, /*rendering_api=*/flutter::IOSRenderingAPI::kSoftware, /*task_runners=*/runners); - id mockFlutterView = OCMClassMock([FlutterView class]); + id mockFlutterViewController = OCMClassMock([FlutterViewController class]); NSMutableArray*>* accessibility_notifications = [[[NSMutableArray alloc] init] autorelease]; @@ -484,7 +484,7 @@ - (void)testAnnouncesScrollChangeWithLastFocused { }]; }; __block auto bridge = - std::make_unique(/*view=*/mockFlutterView, + std::make_unique(/*view_controller=*/mockFlutterViewController, /*platform_view=*/platform_view.get(), /*platform_views_controller=*/nil, /*ios_delegate=*/std::move(ios_delegate));