Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 6f7c6db

Browse files
author
a-wallen
committed
Remove view paramter from updateSemantics
1 parent 7e4e5a4 commit 6f7c6db

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/web_ui/lib/platform_dispatcher.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ abstract class PlatformDispatcher {
8383
VoidCallback? get onAccessibilityFeaturesChanged;
8484
set onAccessibilityFeaturesChanged(VoidCallback? callback);
8585

86-
void updateSemantics(SemanticsUpdate update, [FlutterView view]);
86+
void updateSemantics(SemanticsUpdate update);
8787

8888
Locale get locale;
8989

lib/web_ui/lib/src/engine/platform_dispatcher.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ class EnginePlatformDispatcher extends ui.PlatformDispatcher {
691691
}
692692

693693
@override
694-
void updateSemantics(ui.SemanticsUpdate update, [ui.FlutterView? view]) {
694+
void updateSemantics(ui.SemanticsUpdate update) {
695695
EngineSemanticsOwner.instance.updateSemantics(update);
696696
}
697697

lib/web_ui/lib/window.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ abstract class FlutterView {
1616
WindowPadding get padding => viewConfiguration.padding;
1717
List<DisplayFeature> get displayFeatures => viewConfiguration.displayFeatures;
1818
void render(Scene scene) => platformDispatcher.render(scene, this);
19-
void updateSemantics(SemanticsUpdate update) => platformDispatcher.updateSemantics(update, this);
19+
void updateSemantics(SemanticsUpdate update) => platformDispatcher.updateSemantics(update);
2020
}
2121

2222
abstract class FlutterWindow extends FlutterView {

0 commit comments

Comments
 (0)