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

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

Issue 1529173004: - Fix usage of Platform.packageRoot. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/memory_compiler.dart
diff --git a/tests/compiler/dart2js/memory_compiler.dart b/tests/compiler/dart2js/memory_compiler.dart
index 8d788f6562f7da3b8010dfe84e3c30a5bce5f023..3203b9d1668b592967950eb1b294f5fae020e77f 100644
--- a/tests/compiler/dart2js/memory_compiler.dart
+++ b/tests/compiler/dart2js/memory_compiler.dart
@@ -115,7 +115,7 @@ CompilerImpl compilerFor(
if (packageRoot == null &&
packageConfig == null &&
packagesDiscoveryProvider == null) {
- packageRoot = Uri.base.resolveUri(new Uri.file('${Platform.packageRoot}/'));
+ packageRoot = Uri.base.resolveUri(Uri.parse(Platform.packageRoot));
}
MemorySourceFileProvider provider;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698