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

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

Issue 1235563003: Add interfaces for a new compiler API. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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
Index: tests/compiler/dart2js/memory_source_file_helper.dart
diff --git a/tests/compiler/dart2js/memory_source_file_helper.dart b/tests/compiler/dart2js/memory_source_file_helper.dart
index 0a0428bee0af1eb8919af660278f135a7439f8ba..3ff2ba53f4a0702d1e6184865d015bc01d31dcac 100644
--- a/tests/compiler/dart2js/memory_source_file_helper.dart
+++ b/tests/compiler/dart2js/memory_source_file_helper.dart
@@ -52,4 +52,7 @@ class MemorySourceFileProvider extends SourceFileProvider {
}
return new StringSourceFile.fromUri(resourceUri, source);
}
+
+ @override
+ Future readFromUri(Uri resourceUri) => readStringFromUri(resourceUri);
}

Powered by Google App Engine
This is Rietveld 408576698