Fix try/web/end_to_end_test

BUG=

Review URL: https://codereview.chromium.org//1235513004.
This commit is contained in:
Johnni Winther 2015-07-13 22:30:13 +02:00
parent 83b2b7125b
commit a7c64e6f09

View file

@ -13,6 +13,9 @@ import 'compilation.dart' show PRIVATE_SCHEME;
import 'package:compiler/compiler.dart' as compiler;
import 'package:compiler/src/old_to_new_api.dart' show
LegacyCompilerDiagnostics, LegacyCompilerInput;
import 'package:dart2js_incremental/dart2js_incremental.dart' show
reuseCompiler, OutputProvider;
@ -112,8 +115,8 @@ compile(source, SendPort replyTo) {
Stopwatch compilationTimer = new Stopwatch()..start();
OutputProvider outputProvider = new OutputProvider();
reuseCompiler(
diagnosticHandler: handler,
inputProvider: inputProvider,
diagnosticHandler: new LegacyCompilerDiagnostics(handler),
inputProvider: new LegacyCompilerInput(inputProvider),
outputProvider: outputProvider,
options: options,
cachedCompiler: cachedCompiler,