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

Unified Diff: pkg/compiler/lib/src/serialization/task.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: pkg/compiler/lib/src/serialization/task.dart
diff --git a/pkg/compiler/lib/src/serialization/task.dart b/pkg/compiler/lib/src/serialization/task.dart
index 45a572943674d12c2e9ff69f8880cceb70e70ed9..edcfab54b169d3b9caf69b66f9f0cf7db8b9a019 100644
--- a/pkg/compiler/lib/src/serialization/task.dart
+++ b/pkg/compiler/lib/src/serialization/task.dart
@@ -27,7 +27,10 @@ abstract class LibraryDeserializer {
/// Task that supports deserialization of elements.
class SerializationTask extends CompilerTask implements LibraryDeserializer {
- SerializationTask(Compiler compiler) : super(compiler);
+ final Compiler compiler;
+ SerializationTask(Compiler compiler)
+ : compiler = compiler,
+ super(compiler.measurer);
DeserializerSystem deserializer;

Powered by Google App Engine
This is Rietveld 408576698