From 70b6cd5c153fff020ebd8c4242b486ea3930a29b Mon Sep 17 00:00:00 2001 From: Sigmund Cherem Date: Mon, 13 Jul 2015 16:04:53 -0700 Subject: [PATCH] dart2js: fix try/poi after refactor Review URL: https://codereview.chromium.org//1234873006 . --- pkg/dart2js_incremental/lib/caching_compiler.dart | 4 ++-- pkg/dart2js_incremental/lib/compiler.dart | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/dart2js_incremental/lib/caching_compiler.dart b/pkg/dart2js_incremental/lib/caching_compiler.dart index eceea65aa8ea..2bc2047dcbfd 100644 --- a/pkg/dart2js_incremental/lib/caching_compiler.dart +++ b/pkg/dart2js_incremental/lib/caching_compiler.dart @@ -185,10 +185,10 @@ class StringEventSink implements EventSink { } /// Output provider which collect output in [output]. -class OutputProvider { +class OutputProvider implements CompilerOutput { final Map output = new Map(); - EventSink call(String name, String extension) { + EventSink createEventSink(String name, String extension) { return new StringEventSink((String data) { output['$name.$extension'] = data; }); diff --git a/pkg/dart2js_incremental/lib/compiler.dart b/pkg/dart2js_incremental/lib/compiler.dart index 8704b7c9b6c6..f0a195e68936 100644 --- a/pkg/dart2js_incremental/lib/compiler.dart +++ b/pkg/dart2js_incremental/lib/compiler.dart @@ -153,7 +153,7 @@ compileToStream( class OutputProvider implements CompilerOutput { final Map output = new Map(); - EventSink createSink(String name, String extension) { + EventSink createEventSink(String name, String extension) { return new StringEventSink((String data) { output['$name.$extension'] = data; });