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