Skip to content

Commit 16bc180

Browse files
sigmundchcommit-bot@chromium.org
authored andcommitted
(html) remove type parameter from callback argument
This was a case missed when fixing #33891, and fixes #36798 Change-Id: I96e177a7d8020635e191d829afdec45f888658a9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/127500 Reviewed-by: Alan Knight <[email protected]> Reviewed-by: Sigmund Cherem <[email protected]> Commit-Queue: Sigmund Cherem <[email protected]>
1 parent 652926b commit 16bc180

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

sdk/lib/html/dart2js/html_dart2js.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25216,8 +25216,7 @@ class ResizeObserver extends Interceptor {
2521625216

2521725217
// WARNING: Do not edit - generated code.
2521825218

25219-
typedef void ResizeObserverCallback(
25220-
List<ResizeObserverEntry> entries, ResizeObserver observer);
25219+
typedef void ResizeObserverCallback(List entries, ResizeObserver observer);
2522125220
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2522225221
// for details. All rights reserved. Use of this source code is governed by a
2522325222
// BSD-style license that can be found in the LICENSE file.

sdk_nnbd/lib/html/dart2js/html_dart2js.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25215,8 +25215,7 @@ class ResizeObserver extends Interceptor {
2521525215

2521625216
// WARNING: Do not edit - generated code.
2521725217

25218-
typedef void ResizeObserverCallback(
25219-
List<ResizeObserverEntry> entries, ResizeObserver observer);
25218+
typedef void ResizeObserverCallback(List entries, ResizeObserver observer);
2522025219
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2522125220
// for details. All rights reserved. Use of this source code is governed by a
2522225221
// BSD-style license that can be found in the LICENSE file.

tools/dom/scripts/systemhtml.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@
150150
'List<IntersectionObserverEntry>',
151151
'List<MutationRecord>',
152152
'List<_Report>',
153+
'List<ResizeObserverEntry>',
153154
])
154155

155156

0 commit comments

Comments
 (0)