Eliminate more window singleton usages (#145560)
These usages in strings slipped through the initial clean-up.
This commit is contained in:
committed by
GitHub
parent
31209d04ff
commit
eaf509aaf8
@@ -359,7 +359,7 @@ void main() {
|
||||
SchedulerBinding.instance!.addTimingsCallback((List<FrameTiming> timings) {
|
||||
throw 'TimingsCallback';
|
||||
});
|
||||
ui.window.onReportTimings!(<FrameTiming>[]);
|
||||
ui.PlatformDispatcher.instance.onReportTimings!(<FrameTiming>[]);
|
||||
'''
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user