Index: tests/compiler/dart2js/mirror_tree_shaking_test.dart |
diff --git a/tests/compiler/dart2js/mirror_tree_shaking_test.dart b/tests/compiler/dart2js/mirror_tree_shaking_test.dart |
index 4869c704a1b109ed418cff52b9891261d9914b32..5251dc08ed7463f526fcabac006c55141900f1d3 100644 |
--- a/tests/compiler/dart2js/mirror_tree_shaking_test.dart |
+++ b/tests/compiler/dart2js/mirror_tree_shaking_test.dart |
@@ -16,7 +16,7 @@ import '../../../sdk/lib/_internal/compiler/compiler.dart' |
import 'dart:async'; |
main() { |
- Uri script = currentDirectory.resolve(nativeToUriPath(new Options().script)); |
+ Uri script = currentDirectory.resolve(nativeToUriPath(Platform.script)); |
Uri libraryRoot = script.resolve('../../../sdk/'); |
Uri packageRoot = script.resolve('./packages/'); |