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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/sample_profile.dart

Issue 2767533002: Revert "Fix observatory tests broken by running dartfmt." (Closed)
Patch Set: Created 3 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
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 9dd386e7d985ea42e8b991fede2fdca640a30d71..843fd03e28f63b8ad0c019b0352d17539267c744 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/sample_profile.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/sample_profile.dart
@@ -26,7 +26,6 @@ class SampleProfileMock implements M.SampleProfile {
}
return null;
}
-
M.CodeCallTree loadCodeTree(M.ProfileTreeDirection direction) {
if (_loadCodeTree != null) {
return _loadCodeTree(direction);
@@ -34,15 +33,11 @@ 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;
}

Powered by Google App Engine
This is Rietveld 408576698