Kill stale TODO (#37516)

This commit is contained in:
Dan Field 2019-08-06 13:29:33 -07:00 committed by GitHub
parent 920961abc8
commit 10cf84f7a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,9 +243,6 @@ class FlutterDriverExtension {
/// Runs `finder` repeatedly until it finds one or more [Element]s.
Future<Finder> _waitForElement(Finder finder) async {
// TODO(mravn): This method depends on async execution. A refactoring
// for sync-async semantics is tracked in https://github.com/flutter/flutter/issues/16801.
await Future<void>.value(null);
if (_frameSync)
await _waitUntilFrame(() => SchedulerBinding.instance.transientCallbackCount == 0);