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

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

Issue 10850015: Changed default Uri constructor to Uri.fromComponents(), new default constructor is Uri.fromString(… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 5 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
« no previous file with comments | « dart/tests/compiler/dart2js/parser_helper.dart ('k') | dart/tests/compiler/dart2js/unparser_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/compiler/dart2js/source_mapping_test.dart
diff --git a/dart/tests/compiler/dart2js/source_mapping_test.dart b/dart/tests/compiler/dart2js/source_mapping_test.dart
index d8ed23eb24c2054e50670caa9cbacb08176eec50..d8ff21f03d24ae2787e876b9b690ba279794b792 100644
--- a/dart/tests/compiler/dart2js/source_mapping_test.dart
+++ b/dart/tests/compiler/dart2js/source_mapping_test.dart
@@ -11,7 +11,7 @@
List compileAll(SourceFile sourceFile) {
MockCompiler compiler = new MockCompiler();
- Uri uri = new Uri(sourceFile.filename);
+ Uri uri = new Uri.fromComponents(sourceFile.filename);
compiler.sourceFiles[uri.toString()] = sourceFile;
compiler.runCompiler(uri);
return compiler.backend.emitter.sourceMapBuilder.entries;
« no previous file with comments | « dart/tests/compiler/dart2js/parser_helper.dart ('k') | dart/tests/compiler/dart2js/unparser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698