Index: sdk/lib/async/schedule_microtask.dart |
diff --git a/sdk/lib/async/schedule_microtask.dart b/sdk/lib/async/schedule_microtask.dart |
index 70fbeba924d664bd0934e6d0defbc2227bc5869c..f62b93abb60117956db0885ef2420c21cd0ae9f7 100644 |
--- a/sdk/lib/async/schedule_microtask.dart |
+++ b/sdk/lib/async/schedule_microtask.dart |
@@ -140,12 +140,12 @@ void scheduleMicrotask(void callback()) { |
_ZoneFunction implementation = currentZone._scheduleMicrotask; |
if (identical(_ROOT_ZONE, implementation.zone) && |
_ROOT_ZONE.inSameErrorZone(currentZone)) { |
- _rootScheduleMicrotask(null, null, currentZone, |
- currentZone.registerCallback(callback)); |
+ _rootScheduleMicrotask( |
+ null, null, currentZone, currentZone.registerCallback(callback)); |
return; |
} |
- Zone.current.scheduleMicrotask( |
- Zone.current.bindCallback(callback, runGuarded: true)); |
+ Zone.current |
+ .scheduleMicrotask(Zone.current.bindCallback(callback, runGuarded: true)); |
} |
class _AsyncRun { |