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

Unified Diff: sdk/lib/developer/timeline.dart

Issue 1406093003: Fix build (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « runtime/vm/timeline.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/developer/timeline.dart
diff --git a/sdk/lib/developer/timeline.dart b/sdk/lib/developer/timeline.dart
index 1c9e3d86d63ce74a85b04a5dc82b3eb391be7d78..867475f2a14e9d5b3ba27d8528bb835254dc20fa 100644
--- a/sdk/lib/developer/timeline.dart
+++ b/sdk/lib/developer/timeline.dart
@@ -135,7 +135,7 @@ class AsyncBlock {
// Emit the start event.
void _start() {
- arguments['isolateNumber'] = Timeline._isolateId;
+ arguments['isolateNumber'] = '${Timeline._isolateId}';
String argumentsAsJson = JSON.encode(arguments);
_reportTaskEvent(_getTraceClock(),
_taskId,
@@ -200,7 +200,7 @@ class _SyncBlock {
void finish() {
var end = _getTraceClock();
- arguments['isolateNumber'] = Timeline._isolateId;
+ arguments['isolateNumber'] = '${Timeline._isolateId}';
// Encode arguments map as JSON before reporting.
var argumentsAsJson = JSON.encode(arguments);
« no previous file with comments | « runtime/vm/timeline.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698