Index: pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart |
diff --git a/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart b/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart |
index 5aefd3955ad11fa61c66b385af034a094e388201..da3efb5da069f94b0da1c6ec0462ab93b50783e3 100644 |
--- a/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart |
+++ b/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart |
@@ -18,7 +18,7 @@ class JavaScriptConstantTask extends ConstantCompilerTask { |
JavaScriptConstantTask(Compiler compiler) |
: this.dartConstantCompiler = new DartConstantCompiler(compiler), |
this.jsConstantCompiler = new JavaScriptConstantCompiler(compiler), |
- super(compiler); |
+ super(compiler.measurer); |
String get name => 'ConstantHandler'; |