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

Unified Diff: runtime/observatory/lib/src/service/object.dart

Issue 1243893003: Add missing toInt call (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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/observatory/lib/src/service/object.dart
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index 32d5e42baed6436b5a1fa68a116ff3659cba757c..182e0135fcf05a43d901c582b718f5f9a4bce757 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -1706,7 +1706,7 @@ class ServiceEvent extends ServiceObject {
if (map['logRecord'] != null) {
logRecord = map['logRecord'];
logRecord['time'] =
- new DateTime.fromMillisecondsSinceEpoch(logRecord['time']);
+ new DateTime.fromMillisecondsSinceEpoch(logRecord['time'].toInt());
logRecord['level'] = _findLogLevel(logRecord['level']);
}
}
« 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