| Index: runtime/observatory/tests/service/dominator_tree_user_test.dart
|
| diff --git a/runtime/observatory/tests/service/dominator_tree_test.dart b/runtime/observatory/tests/service/dominator_tree_user_test.dart
|
| similarity index 94%
|
| copy from runtime/observatory/tests/service/dominator_tree_test.dart
|
| copy to runtime/observatory/tests/service/dominator_tree_user_test.dart
|
| index 037fbebcbf6a0811d22caeae53eb976f8d619819..c312dd0fedae06532d60378c34db65605442e1a2 100644
|
| --- a/runtime/observatory/tests/service/dominator_tree_test.dart
|
| +++ b/runtime/observatory/tests/service/dominator_tree_user_test.dart
|
| @@ -4,6 +4,7 @@
|
| // VMOptions=--error_on_bad_type --error_on_bad_override
|
|
|
| import 'package:observatory/heap_snapshot.dart';
|
| +import 'package:observatory/models.dart' as M;
|
| import 'package:observatory/service_io.dart';
|
| import 'package:unittest/unittest.dart';
|
| import 'test_helper.dart';
|
| @@ -58,7 +59,8 @@ buildGraph() {
|
| var tests = [
|
| (Isolate isolate) async {
|
| final rootLib = await isolate.rootLibrary.load();
|
| - final raw = await isolate.fetchHeapSnapshot(false).last;
|
| + final raw =
|
| + await isolate.fetchHeapSnapshot(M.HeapSnapshotRoots.user, false).last;
|
| final snapshot = new HeapSnapshot();
|
| await snapshot.loadProgress(isolate, raw).last;
|
|
|
|
|