| Index: runtime/observatory/lib/src/elements/allocation_profile.dart
|
| diff --git a/runtime/observatory/lib/src/elements/allocation_profile.dart b/runtime/observatory/lib/src/elements/allocation_profile.dart
|
| index d782f55541f7ec4b329507733a38d8eaf60263c1..453a9001bd3617c5af627a58b00273cef9e90607 100644
|
| --- a/runtime/observatory/lib/src/elements/allocation_profile.dart
|
| +++ b/runtime/observatory/lib/src/elements/allocation_profile.dart
|
| @@ -123,9 +123,8 @@ class AllocationProfileElement extends HtmlElement implements Renderable {
|
| new NavIsolateMenuElement(_isolate, _events, queue: _r.queue),
|
| navMenu('allocation profile'),
|
| new NavRefreshElement(
|
| - label: 'Download',
|
| - disabled: _profile == null,
|
| - queue: _r.queue)..onRefresh.listen((_) => _downloadCSV()),
|
| + label: 'Download', disabled: _profile == null, queue: _r.queue)
|
| + ..onRefresh.listen((_) => _downloadCSV()),
|
| new NavRefreshElement(label: 'Reset Accumulator', queue: _r.queue)
|
| ..onRefresh.listen((_) => _refresh(reset: true)),
|
| new NavRefreshElement(label: 'GC', queue: _r.queue)
|
| @@ -564,7 +563,8 @@ class AllocationProfileElement extends HtmlElement implements Renderable {
|
| ]);
|
|
|
| new LayoutArea(host, data, config,
|
| - state: new ChartState(), autoUpdate: true)..draw();
|
| + state: new ChartState(), autoUpdate: true)
|
| + ..draw();
|
| }
|
|
|
| Future _refresh({bool gc: false, bool reset: false}) async {
|
|
|