Unverified Commit cc9e9ce2 authored by liyuqian's avatar liyuqian Committed by GitHub

Remove TODO that's done (#44318)

See https://github.com/flutter/engine/pull/13728
parent 2eb8caf1
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment