Index: tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart |
diff --git a/tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart b/tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart |
index eec688ab4c5aff7b4884562daadf5f323747f631..b6b10651dd2c9949097e7141bd79640cf4cc4dbd 100644 |
--- a/tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart |
+++ b/tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart |
@@ -13,7 +13,7 @@ import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart' |
as dart2js; |
void 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/'); |