| Index: chrome/browser/automation/testing_automation_provider.cc
|
| diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
|
| index 8480c30c75864fe258882f2e174fa49b1ebb86c0..6788bf3a5fd4519b45dfbd5d16272d10ad10bcba 100644
|
| --- a/chrome/browser/automation/testing_automation_provider.cc
|
| +++ b/chrome/browser/automation/testing_automation_provider.cc
|
| @@ -102,6 +102,7 @@
|
| #include "chrome/browser/ui/browser_finder.h"
|
| #include "chrome/browser/ui/browser_list.h"
|
| #include "chrome/browser/ui/browser_window.h"
|
| +#include "chrome/browser/ui/extensions/application_launch.h"
|
| #include "chrome/browser/ui/find_bar/find_bar.h"
|
| #include "chrome/browser/ui/fullscreen_controller.h"
|
| #include "chrome/browser/ui/fullscreen_exit_bubble_type.h"
|
| @@ -5593,8 +5594,8 @@ void TestingAutomationProvider::LaunchApp(
|
| // This observer will delete itself.
|
| new AppLaunchObserver(&old_contents->GetController(), this, reply_message,
|
| launch_container);
|
| - Browser::OpenApplication(profile(), extension, launch_container, GURL(),
|
| - CURRENT_TAB);
|
| + application_launch::OpenApplication(profile(), extension, launch_container,
|
| + GURL(), CURRENT_TAB);
|
| }
|
|
|
| // Sample JSON input: { "command": "SetAppLaunchType",
|
|
|