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 843fd03e28f63b8ad0c019b0352d17539267c744..9dd386e7d985ea42e8b991fede2fdca640a30d71 100644 |
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/sample_profile.dart |
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/sample_profile.dart |
@@ -26,6 +26,7 @@ class SampleProfileMock implements M.SampleProfile { |
} |
return null; |
} |
+ |
M.CodeCallTree loadCodeTree(M.ProfileTreeDirection direction) { |
if (_loadCodeTree != null) { |
return _loadCodeTree(direction); |
@@ -33,11 +34,15 @@ class SampleProfileMock implements M.SampleProfile { |
return null; |
} |
- SampleProfileMock({this.sampleCount: 0, this.stackDepth: 0, |
- this.sampleRate: 1.0, this.timeSpan: 1.0, |
- this.codes: const [], this.functions: const [], |
+ 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, |
- _loadCodeTree = loadCodeTree; |
+ : _loadFunctionTree = loadFunctionTree, |
+ _loadCodeTree = loadCodeTree; |
} |