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

Unified Diff: pkg/analyzer/lib/src/services/runtime/coverage/coverage_impl.dart

Issue 52573002: Remove uses of Options from pkg, samples, tests, and third_party directories. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Edit comment Created 7 years, 2 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/analyzer/example/scanner_driver.dart ('k') | pkg/args/lib/args.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/services/runtime/coverage/coverage_impl.dart
diff --git a/pkg/analyzer/lib/src/services/runtime/coverage/coverage_impl.dart b/pkg/analyzer/lib/src/services/runtime/coverage/coverage_impl.dart
index 231f43d5265f638b765f30d90d48e5fd3d141563..3515fe2ced8a98ff6c8d987df3f848845c938e31 100644
--- a/pkg/analyzer/lib/src/services/runtime/coverage/coverage_impl.dart
+++ b/pkg/analyzer/lib/src/services/runtime/coverage/coverage_impl.dart
@@ -28,9 +28,8 @@ void runServerApplication(String targetPath, String outPath) {
var targetName = pathos.basename(targetPath);
var server = new CoverageServer(targetFolder, targetPath, outPath);
server.start().then((port) {
- var options = new Options();
var targetArgs = ['http://127.0.0.1:$port/$targetName'];
- var dartExecutable = options.executable;
+ var dartExecutable = Platform.executable;
return Process.start(dartExecutable, targetArgs);
}).then((process) {
stdin.pipe(process.stdin);
« no previous file with comments | « pkg/analyzer/example/scanner_driver.dart ('k') | pkg/args/lib/args.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698