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

Unified Diff: tests/compiler/dart2js/codegen_helper.dart

Issue 53833003: Fix bugs in Platform.script change. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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: tests/compiler/dart2js/codegen_helper.dart
diff --git a/tests/compiler/dart2js/codegen_helper.dart b/tests/compiler/dart2js/codegen_helper.dart
index 61d8aab5ec542ff597dc0826f4de2375ef89b6f9..445276e9ab5e5820efb6342adcdf87afcce34375 100644
--- a/tests/compiler/dart2js/codegen_helper.dart
+++ b/tests/compiler/dart2js/codegen_helper.dart
@@ -9,7 +9,7 @@ import 'memory_source_file_helper.dart';
Future<Map<String, String>> generate(String code,
[List<String> options = const []]) {
- Uri script = currentDirectory.resolveUri(platformScript);
+ Uri script = currentDirectory.resolveUri(Platform.script);
Uri libraryRoot = script.resolve('../../../sdk/');
Uri packageRoot = script.resolve('./packages/');
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/io.dart ('k') | tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698