| Index: pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
|
| diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
|
| index 778f1264c0a5572f3805020f3cff41327aff5db1..65b535e1a94cbda265579c101ba70813d0533ded 100644
|
| --- a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
|
| +++ b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
|
| @@ -1534,7 +1534,8 @@ class Emitter extends js_emitter.EmitterBase {
|
| }
|
|
|
| CodeOutput mainOutput = new StreamCodeOutput(
|
| - compiler.outputProvider('', 'js', OutputType.js), codeOutputListeners);
|
| + compiler.outputProvider.createOutputSink('', 'js', OutputType.js),
|
| + codeOutputListeners);
|
| outputBuffers[mainOutputUnit] = mainOutput;
|
|
|
| mainOutput.addBuffer(jsAst.createCodeBuffer(
|
| @@ -1874,7 +1875,8 @@ class Emitter extends js_emitter.EmitterBase {
|
| String partPrefix = compiler.deferredLoadTask
|
| .deferredPartFileName(outputUnit.name, addExtension: false);
|
| CodeOutput output = new StreamCodeOutput(
|
| - compiler.outputProvider(partPrefix, 'part.js', OutputType.jsPart),
|
| + compiler.outputProvider
|
| + .createOutputSink(partPrefix, 'part.js', OutputType.jsPart),
|
| outputListeners);
|
|
|
| outputBuffers[outputUnit] = output;
|
| @@ -1943,7 +1945,7 @@ class Emitter extends js_emitter.EmitterBase {
|
| mapping["_comment"] = "This mapping shows which compiled `.js` files are "
|
| "needed for a given deferred library import.";
|
| mapping.addAll(compiler.deferredLoadTask.computeDeferredMap());
|
| - compiler.outputProvider(
|
| + compiler.outputProvider.createOutputSink(
|
| compiler.options.deferredMapUri.path, '', OutputType.info)
|
| ..add(const JsonEncoder.withIndent(" ").convert(mapping))
|
| ..close();
|
|
|