Index: runtime/observatory/web/main.dart |
diff --git a/runtime/observatory/web/main.dart b/runtime/observatory/web/main.dart |
index 09ad35604f97d9d9bf0fc199b662d8d207b7d8ab..8e316d9eba7ba86f4d9894ead48316356c4fc671 100644 |
--- a/runtime/observatory/web/main.dart |
+++ b/runtime/observatory/web/main.dart |
@@ -21,7 +21,7 @@ main() { |
Logger.root.info('Starting Observatory'); |
GoogleChart.initOnce().then((_) { |
// Charts loaded, initialize polymer. |
- initPolymer().run(() { |
+ initPolymer().then((zone) { |
Logger.root.info('Polymer initialized'); |
// Code here is in the polymer Zone, which ensures that |
// @observable properties work correctly. |