Roll engine to b3ed79122edd7172327ce415688ef674d6a7fa5d (#7476)

fixes #7433
This commit is contained in:
Michael Goderbauer 2017-01-12 18:56:43 -08:00 committed by GitHub
parent 55beaef743
commit 394a736984
3 changed files with 1 additions and 6 deletions

View file

@ -1 +1 @@
fc421489b154c6ceb1b8a063541d5a5d4372db6b
b3ed79122edd7172327ce415688ef674d6a7fa5d

View file

@ -168,9 +168,6 @@ class _FlutterDriverExtension {
subscription = _onFrameReady.listen((Duration duration) {
if (finder.precache()) {
subscription.cancel();
// TODO(goderbauer): Remove workaround for https://github.com/flutter/flutter/issues/7433
Timer.run(() {});
// end workaround
completer.complete(finder);
}
});

View file

@ -631,8 +631,6 @@ class LiveTestWidgetsFlutterBinding extends TestWidgetsFlutterBinding {
super.handleBeginFrame(rawTimeStamp);
if (_expectingFrame) {
assert(_pendingFrame != null);
// TODO(yjbanov): workaroud for https://github.com/flutter/flutter/issues/7433
Timer.run(() {}); // forces runtime to flush Completer.complete() microtask
_pendingFrame.complete(); // unlocks the test API
_pendingFrame = null;
_expectingFrame = false;