| Index: tests/compiler/dart2js/patch_test.dart
|
| diff --git a/tests/compiler/dart2js/patch_test.dart b/tests/compiler/dart2js/patch_test.dart
|
| index 1ae7f8d9ec71aecf860edab2978e5fd652d86f06..d7094a813e33e34c1b0b953c40db91be1d1bc5e4 100644
|
| --- a/tests/compiler/dart2js/patch_test.dart
|
| +++ b/tests/compiler/dart2js/patch_test.dart
|
| @@ -15,9 +15,9 @@ import "parser_helper.dart";
|
| Future<Compiler> applyPatch(String script, String patch,
|
| {bool analyzeAll: false, bool analyzeOnly: false}) {
|
| String core = "$DEFAULT_CORELIB\n$script";
|
| - MockCompiler compiler = new MockCompiler(coreSource: core,
|
| - analyzeAll: analyzeAll,
|
| - analyzeOnly: analyzeOnly);
|
| + MockCompiler compiler = new MockCompiler.internal(coreSource: core,
|
| + analyzeAll: analyzeAll,
|
| + analyzeOnly: analyzeOnly);
|
| var uri = Uri.parse("core.dartp");
|
| compiler.sourceFiles[uri.toString()] = new MockFile(patch);
|
| var handler = new LibraryDependencyHandler(compiler);
|
|
|