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

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

Issue 1814813003: Collect samples for background threads. (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 | runtime/observatory/web/timeline.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/elements/timeline_page.dart
diff --git a/runtime/observatory/lib/src/elements/timeline_page.dart b/runtime/observatory/lib/src/elements/timeline_page.dart
index 7a70c1102dc387189ecf4492f6b2bd3f43e9ab25..cdcb1d7ddaf60d3dbfc10557b2dc682959071da4 100644
--- a/runtime/observatory/lib/src/elements/timeline_page.dart
+++ b/runtime/observatory/lib/src/elements/timeline_page.dart
@@ -47,6 +47,8 @@ class TimelinePageElement extends ObservatoryElement {
}
Future refresh() async {
+ await app.vm.reload();
+ await app.vm.reloadIsolates();
return postMessage('refresh');
}
« no previous file with comments | « no previous file | runtime/observatory/web/timeline.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698