| Index: runtime/observatory/tests/observatory_ui/mocks/objects/sample_profile.dart
|
| diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/sample_profile.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/sample_profile.dart
|
| index 4e8441cb077e164e8703cc0ab4925713fd9a37b4..843fd03e28f63b8ad0c019b0352d17539267c744 100644
|
| --- a/runtime/observatory/tests/observatory_ui/mocks/objects/sample_profile.dart
|
| +++ b/runtime/observatory/tests/observatory_ui/mocks/objects/sample_profile.dart
|
| @@ -13,11 +13,12 @@ class SampleProfileMock implements M.SampleProfile {
|
| final SampleProfileMockLoadFunctionTreeCallback _loadFunctionTree;
|
| final SampleProfileMockLoadCodeTreeCallback _loadCodeTree;
|
|
|
| -
|
| final int sampleCount;
|
| final int stackDepth;
|
| final double sampleRate;
|
| final double timeSpan;
|
| + final Iterable<M.ProfileCode> codes;
|
| + final Iterable<M.ProfileFunction> functions;
|
|
|
| M.FunctionCallTree loadFunctionTree(M.ProfileTreeDirection direction) {
|
| if (_loadFunctionTree != null) {
|
| @@ -34,6 +35,7 @@ class SampleProfileMock implements M.SampleProfile {
|
|
|
| SampleProfileMock({this.sampleCount: 0, this.stackDepth: 0,
|
| this.sampleRate: 1.0, this.timeSpan: 1.0,
|
| + this.codes: const [], this.functions: const [],
|
| SampleProfileMockLoadFunctionTreeCallback loadFunctionTree,
|
| SampleProfileMockLoadCodeTreeCallback loadCodeTree})
|
| : _loadFunctionTree = loadFunctionTree,
|
|
|