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

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

Issue 2000323006: Make CompilerTask independent of compiler. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/mock_compiler.dart
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
index 59dc3da662f808682378ca42f4187823349eae3f..9c5b770cab1f0f5b31df76b4b6e9b973029c3384 100644
--- a/tests/compiler/dart2js/mock_compiler.dart
+++ b/tests/compiler/dart2js/mock_compiler.dart
@@ -41,6 +41,7 @@ import 'package:compiler/src/elements/modelx.dart' show
FunctionElementX;
import 'package:compiler/src/compiler.dart';
+import 'package:compiler/src/common/tasks.dart' show Measurer;
import 'package:compiler/src/deferred_load.dart' show
DeferredLoadTask,
@@ -69,6 +70,7 @@ class MockCompiler extends Compiler {
final DiagnosticCollector diagnosticCollector = new DiagnosticCollector();
final ResolvedUriTranslator resolvedUriTranslator =
new MockResolvedUriTranslator();
+ final Measurer measurer = new Measurer();
MockCompiler.internal(
{Map<String, String> coreSource,

Powered by Google App Engine
This is Rietveld 408576698