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

Unified Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/heap_profile.dart

Issue 185413015: Update the navbar in the observatory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: new js Created 6 years, 10 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
Index: runtime/bin/vmservice/client/lib/src/observatory_elements/heap_profile.dart
diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/heap_profile.dart b/runtime/bin/vmservice/client/lib/src/observatory_elements/heap_profile.dart
index 96ebf2773be9c42892a89911c73a18720044cdfb..e281a0720e365990c91901e664e1a4529722c367 100644
--- a/runtime/bin/vmservice/client/lib/src/observatory_elements/heap_profile.dart
+++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/heap_profile.dart
@@ -222,7 +222,7 @@ class HeapProfileElement extends ObservatoryElement {
throw new FallThroughError();
}
- void refreshData(Event e, var detail, Node target) {
+ void refresh(var done) {
var isolateId = app.locationManager.currentIsolateId();
var isolate = app.isolateManager.getIsolate(isolateId);
if (isolate == null) {
@@ -235,7 +235,7 @@ class HeapProfileElement extends ObservatoryElement {
profile = response;
}).catchError((e, st) {
Logger.root.info('$e $st');
- });
+ }).whenComplete(done);
}
void resetAccumulator(Event e, var detail, Node target) {

Powered by Google App Engine
This is Rietveld 408576698