mirror of
https://github.com/flutter/flutter
synced 2024-10-13 11:42:54 +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.
|
||||
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);
|
||||
if (_timingsCallbacks.length == 1) {
|
||||
assert(window.onReportTimings == null);
|
||||
|
|
Loading…
Reference in a new issue