mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Remove TODO that's done (#44318)
See https://github.com/flutter/engine/pull/13728
This commit is contained in:
parent
2eb8caf13c
commit
cc9e9ce2ce
@ -224,9 +224,6 @@ mixin SchedulerBinding on BindingBase, ServicesBinding {
|
|||||||
///
|
///
|
||||||
/// If the same callback is added twice, it will be executed twice.
|
/// If the same callback is added twice, it will be executed twice.
|
||||||
void addTimingsCallback(TimingsCallback callback) {
|
void addTimingsCallback(TimingsCallback callback) {
|
||||||
// TODO(liyuqian): once this is merged, modify the doc of
|
|
||||||
// [Window.onReportTimings] inside the engine repo to recommend using this
|
|
||||||
// API instead of using [Window.onReportTimings] directly.
|
|
||||||
_timingsCallbacks.add(callback);
|
_timingsCallbacks.add(callback);
|
||||||
if (_timingsCallbacks.length == 1) {
|
if (_timingsCallbacks.length == 1) {
|
||||||
assert(window.onReportTimings == null);
|
assert(window.onReportTimings == null);
|
||||||
|
Loading…
Reference in New Issue
Block a user