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

Unified Diff: runtime/observatory/lib/src/elements/class_tree.dart

Issue 1813033002: Fix observatory warnings (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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/elements/class_tree.dart
diff --git a/runtime/observatory/lib/src/elements/class_tree.dart b/runtime/observatory/lib/src/elements/class_tree.dart
index 0ba74fef32f770c2d539a4de4b97a19b4a044e59..16f6928fbd72a7b193f0445f2b021e5909b929b9 100644
--- a/runtime/observatory/lib/src/elements/class_tree.dart
+++ b/runtime/observatory/lib/src/elements/class_tree.dart
@@ -5,6 +5,7 @@
library class_tree_element;
import 'observatory_element.dart';
+import 'dart:async';
import 'dart:html';
import 'package:logging/logging.dart';
import 'package:observatory/app.dart';
@@ -34,7 +35,7 @@ class ClassTreeRow extends TableTreeRow {
}
}
- void _addMixins(Class cls) async {
+ Future _addMixins(Class cls) async {
var classCell = flexColumns[0];
if (cls.superclass == null) {
return;
@@ -60,7 +61,7 @@ class ClassTreeRow extends TableTreeRow {
}
}
- void _addClass(Class cls) async {
+ Future _addClass(Class cls) async {
var classCell = flexColumns[0];
classCell.style.justifyContent = 'flex-start';
var classRef = new Element.tag('class-ref');
« 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