Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: sdk/lib/async/schedule_microtask.dart

Issue 2754013002: Format all dart: library files (Closed)
Patch Set: Format all dart: library files Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/async/future_impl.dart ('k') | sdk/lib/async/stream.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « sdk/lib/async/future_impl.dart ('k') | sdk/lib/async/stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698