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

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

Issue 2992893002: Reapply "[vm] Don't enable the profiler by default. Enable the profiler at startup with --observe, … (Closed)
Patch Set: native symbol resolver Created 3 years, 4 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/observatory/lib/src/elements/cpu_profile_table.dart
diff --git a/runtime/observatory/lib/src/elements/cpu_profile_table.dart b/runtime/observatory/lib/src/elements/cpu_profile_table.dart
index 7c34d1b5c0709521de9fd6b161814e6fe4c7b738..856d57e16e652518f8a0cda0e84a355bc80a1b4b 100644
--- a/runtime/observatory/lib/src/elements/cpu_profile_table.dart
+++ b/runtime/observatory/lib/src/elements/cpu_profile_table.dart
@@ -127,7 +127,7 @@ class CpuProfileTableElement extends HtmlElement implements Renderable {
children = content;
return;
}
- content.add(new SampleBufferControlElement(_progress, _progressStream,
+ content.add(new SampleBufferControlElement(_vm, _progress, _progressStream,
showTag: false, queue: _r.queue));
if (_progress.status == M.SampleProfileLoadingStatus.loaded) {
content.add(new BRElement());

Powered by Google App Engine
This is Rietveld 408576698