| Index: runtime/observatory/tests/observatory_ui/mocks/repositories/allocation_profile.dart
|
| diff --git a/runtime/observatory/tests/observatory_ui/mocks/repositories/allocation_profile.dart b/runtime/observatory/tests/observatory_ui/mocks/repositories/allocation_profile.dart
|
| index a83f35d111af19f6264363e9ad87b1a4c1b67951..e36aa515a5a5695859d4f9483d7b22e397d7e1f5 100644
|
| --- a/runtime/observatory/tests/observatory_ui/mocks/repositories/allocation_profile.dart
|
| +++ b/runtime/observatory/tests/observatory_ui/mocks/repositories/allocation_profile.dart
|
| @@ -4,20 +4,20 @@
|
|
|
| part of mocks;
|
|
|
| -typedef Future<M.AllocationProfile>
|
| - AllocationProfileRepositoryMockGetterCallback(M.Isolate id,
|
| - bool gc,
|
| - bool force);
|
| +typedef Future<
|
| + M
|
| + .AllocationProfile> AllocationProfileRepositoryMockGetterCallback(
|
| + M.Isolate id, bool gc, bool force);
|
|
|
| class AllocationProfileRepositoryMock implements M.AllocationProfileRepository {
|
| final AllocationProfileRepositoryMockGetterCallback _get;
|
|
|
| AllocationProfileRepositoryMock(
|
| {AllocationProfileRepositoryMockGetterCallback getter})
|
| - : _get = getter;
|
| + : _get = getter;
|
|
|
| - Future<M.AllocationProfile> get(M.IsolateRef id, {bool gc: false,
|
| - bool reset: false}){
|
| + Future<M.AllocationProfile> get(M.IsolateRef id,
|
| + {bool gc: false, bool reset: false}) {
|
| if (_get != null) {
|
| return _get(id, gc, reset);
|
| }
|
|
|