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

Unified Diff: runtime/lib/developer.dart

Issue 1260343004: Increment next sequence number (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/developer.dart
diff --git a/runtime/lib/developer.dart b/runtime/lib/developer.dart
index f5a4a0022dbd6319bf8121a040677cdead5d9cb0..707d59144808c8bbe034a3836c43c4a1f6835c74 100644
--- a/runtime/lib/developer.dart
+++ b/runtime/lib/developer.dart
@@ -25,7 +25,7 @@ patch log(String message,
throw new ArgumentError(time, "time", "Must be a DateTime");
}
if (sequenceNumber == null) {
- sequenceNumber = _nextSequenceNumber;
+ sequenceNumber = _nextSequenceNumber++;
} else {
_nextSequenceNumber = sequenceNumber + 1;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698