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

Unified Diff: runtime/observatory/web/main.dart

Issue 1189543003: Ports page for isolates (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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/observatory/observatory_sources.gypi ('k') | runtime/vm/port.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/web/main.dart
diff --git a/runtime/observatory/web/main.dart b/runtime/observatory/web/main.dart
index 8e316d9eba7ba86f4d9894ead48316356c4fc671..d8962f6cca78d5b60f7d7264bc545b27470d9de0 100644
--- a/runtime/observatory/web/main.dart
+++ b/runtime/observatory/web/main.dart
@@ -2,6 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+import 'dart:async';
rmacnak 2015/06/18 17:01:44 Unused?
Cutch 2015/06/18 17:26:27 Done.
import 'package:logging/logging.dart';
import 'package:observatory/app.dart';
import 'package:polymer/polymer.dart';
@@ -19,7 +20,8 @@ main() {
print('${rec.level.name}: ${rec.time}: ${rec.message}');
});
Logger.root.info('Starting Observatory');
- GoogleChart.initOnce().then((_) {
+ var chartsLoaded = GoogleChart.initOnce();
+ chartsLoaded.then((_) {
// Charts loaded, initialize polymer.
initPolymer().then((zone) {
Logger.root.info('Polymer initialized');
« no previous file with comments | « runtime/observatory/observatory_sources.gypi ('k') | runtime/vm/port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698