| Index: chrome/test/base/ui_test_utils.cc
|
| diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc
|
| index 552a1183a2565387316fb14d640ab4bdc88399a4..4b4d488c225abb0efacb883c2b23017e5c734d6c 100644
|
| --- a/chrome/test/base/ui_test_utils.cc
|
| +++ b/chrome/test/base/ui_test_utils.cc
|
| @@ -146,17 +146,6 @@ bool GetCurrentTabTitle(const Browser* browser, base::string16* title) {
|
| return true;
|
| }
|
|
|
| -Browser* OpenURLOffTheRecord(Profile* profile, const GURL& url) {
|
| - chrome::HostDesktopType active_desktop = chrome::GetActiveDesktop();
|
| - chrome::OpenURLOffTheRecord(profile, url, active_desktop);
|
| - Browser* browser = chrome::FindTabbedBrowser(
|
| - profile->GetOffTheRecordProfile(), false, active_desktop);
|
| - content::TestNavigationObserver observer(
|
| - browser->tab_strip_model()->GetActiveWebContents());
|
| - observer.Wait();
|
| - return browser;
|
| -}
|
| -
|
| void NavigateToURL(chrome::NavigateParams* params) {
|
| chrome::Navigate(params);
|
| content::WaitForLoadStop(params->target_contents);
|
|
|