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

Unified Diff: pkg/front_end/test/src/incremental/kernel_driver_test.dart

Issue 2992173002: Get logger / fileSystem / byteStore from ProcessedOptions. (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « pkg/front_end/lib/src/incremental_kernel_generator_impl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/test/src/incremental/kernel_driver_test.dart
diff --git a/pkg/front_end/test/src/incremental/kernel_driver_test.dart b/pkg/front_end/test/src/incremental/kernel_driver_test.dart
index 052dc58d1698a886f4f69e36ffffc4237d5a24fc..193a84d95bcdb8f7fb827f2307456c4762eace9b 100644
--- a/pkg/front_end/test/src/incremental/kernel_driver_test.dart
+++ b/pkg/front_end/test/src/incremental/kernel_driver_test.dart
@@ -654,13 +654,13 @@ import 'b.dart';
var uriTranslator =
new UriTranslatorImpl(dartLibraries, {}, new MapPackages(packages));
driver = new KernelDriver(
- new PerformanceLog(null),
- fileSystem,
- new MemoryByteStore(),
- uriTranslator,
new ProcessedOptions(new CompilerOptions()
+ ..logger = new PerformanceLog(null)
+ ..fileSystem = fileSystem
+ ..byteStore = new MemoryByteStore()
..strongMode = true
..target = new NoneTarget(new TargetFlags(strongMode: true))),
+ uriTranslator,
fileAddedFn: fileAddedFn);
}
« no previous file with comments | « pkg/front_end/lib/src/incremental_kernel_generator_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698