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

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

Issue 185413015: Update the navbar in the observatory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase to master 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/isolate_profile.dart
diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_profile.dart b/runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_profile.dart
index c5287a2d9c560973fcbd451c157856cdac61ba5c..eff6f8de7bd6d411ac424fb4c660b8ff807acd2d 100644
--- a/runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_profile.dart
+++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_profile.dart
@@ -90,7 +90,7 @@ class IsolateProfileElement extends ObservatoryElement {
_refresh(isolate);
}
- 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) {
@@ -107,7 +107,7 @@ class IsolateProfileElement extends ObservatoryElement {
_endRequest();
}).catchError((e) {
_endRequest();
- });
+ }).whenComplete(done);
}
void _loadProfileData(Isolate isolate, int totalSamples, Map response) {

Powered by Google App Engine
This is Rietveld 408576698