| Index: tools/testing/dart/launch_browser.dart
|
| diff --git a/tools/testing/dart/launch_browser.dart b/tools/testing/dart/launch_browser.dart
|
| index 66264d93a81131ec855f236e48db1aced50640f4..23f861754bc90b18d28c8f587f635289e4603d75 100644
|
| --- a/tools/testing/dart/launch_browser.dart
|
| +++ b/tools/testing/dart/launch_browser.dart
|
| @@ -10,8 +10,8 @@
|
| * DARTBIN should be the checked in stable binary.
|
| */
|
|
|
| -import "browser_controller.dart";
|
| -import "utils.dart";
|
| +import 'browser_controller.dart';
|
| +import 'configuration.dart';
|
|
|
| void printHelp() {
|
| print("Usage pattern:");
|
| @@ -33,7 +33,9 @@ void main(List<String> arguments) {
|
| return;
|
| }
|
|
|
| - var executable = Locations.getBrowserLocation(name, {});
|
| - var browser = new Browser.byName(name, executable);
|
| + var runtime = Runtime.find(name);
|
| + var configuration = new Configuration(runtime: runtime);
|
| + var executable = configuration.browserLocation;
|
| + var browser = new Browser.byRuntime(runtime, executable);
|
| browser.start(arguments[1]);
|
| }
|
|
|