@@ -338,7 +338,7 @@ - (void)testAnnouncesLayoutChangeWithNilIfLastFocusIsRemoved {
338338 /* delegate=*/ mock_delegate,
339339 /* rendering_api=*/ flutter::IOSRenderingAPI::kSoftware ,
340340 /* task_runners=*/ runners);
341- id mockFlutterView = OCMClassMock ([FlutterView class ]);
341+ id mockFlutterViewController = OCMClassMock ([FlutterViewController class ]);
342342
343343 NSMutableArray <NSDictionary <NSString *, id >*>* accessibility_notifications =
344344 [[[NSMutableArray alloc ] init ] autorelease ];
@@ -351,7 +351,7 @@ - (void)testAnnouncesLayoutChangeWithNilIfLastFocusIsRemoved {
351351 }];
352352 };
353353 __block auto bridge =
354- std::make_unique<flutter::AccessibilityBridge>(/* view =*/ mockFlutterView ,
354+ std::make_unique<flutter::AccessibilityBridge>(/* view_controller =*/ mockFlutterViewController ,
355355 /* platform_view=*/ platform_view.get (),
356356 /* platform_views_controller=*/ nil ,
357357 /* ios_delegate=*/ std::move (ios_delegate));
@@ -401,7 +401,7 @@ - (void)testAnnouncesLayoutChangeWithLastFocused {
401401 /* delegate=*/ mock_delegate,
402402 /* rendering_api=*/ flutter::IOSRenderingAPI::kSoftware ,
403403 /* task_runners=*/ runners);
404- id mockFlutterView = OCMClassMock ([FlutterView class ]);
404+ id mockFlutterViewController = OCMClassMock ([FlutterViewController class ]);
405405
406406 NSMutableArray <NSDictionary <NSString *, id >*>* accessibility_notifications =
407407 [[[NSMutableArray alloc ] init ] autorelease ];
@@ -414,7 +414,7 @@ - (void)testAnnouncesLayoutChangeWithLastFocused {
414414 }];
415415 };
416416 __block auto bridge =
417- std::make_unique<flutter::AccessibilityBridge>(/* view =*/ mockFlutterView ,
417+ std::make_unique<flutter::AccessibilityBridge>(/* view_controller =*/ mockFlutterViewController ,
418418 /* platform_view=*/ platform_view.get (),
419419 /* platform_views_controller=*/ nil ,
420420 /* ios_delegate=*/ std::move (ios_delegate));
@@ -471,7 +471,7 @@ - (void)testAnnouncesScrollChangeWithLastFocused {
471471 /* delegate=*/ mock_delegate,
472472 /* rendering_api=*/ flutter::IOSRenderingAPI::kSoftware ,
473473 /* task_runners=*/ runners);
474- id mockFlutterView = OCMClassMock ([FlutterView class ]);
474+ id mockFlutterViewController = OCMClassMock ([FlutterViewController class ]);
475475
476476 NSMutableArray <NSDictionary <NSString *, id >*>* accessibility_notifications =
477477 [[[NSMutableArray alloc ] init ] autorelease ];
@@ -484,7 +484,7 @@ - (void)testAnnouncesScrollChangeWithLastFocused {
484484 }];
485485 };
486486 __block auto bridge =
487- std::make_unique<flutter::AccessibilityBridge>(/* view =*/ mockFlutterView ,
487+ std::make_unique<flutter::AccessibilityBridge>(/* view_controller =*/ mockFlutterViewController ,
488488 /* platform_view=*/ platform_view.get (),
489489 /* platform_views_controller=*/ nil ,
490490 /* ios_delegate=*/ std::move (ios_delegate));
0 commit comments