summaryrefslogtreecommitdiffstats
path: root/chrome/test/automated_ui_tests
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-27 15:31:13 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-27 15:31:13 +0000
commitd05cd10167055b92abefae9dbb700b49da657491 (patch)
tree1efbf0699b42d1d22158e418d68f2c135261d0ea /chrome/test/automated_ui_tests
parentef321762d036191157a3d31a6eff2884f3ff0356 (diff)
downloadchromium_src-d05cd10167055b92abefae9dbb700b49da657491.zip
chromium_src-d05cd10167055b92abefae9dbb700b49da657491.tar.gz
chromium_src-d05cd10167055b92abefae9dbb700b49da657491.tar.bz2
Makes session restore on Chrome OS restore popups.
BUG=18862 TEST=none Review URL: http://codereview.chromium.org/337030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30194 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automated_ui_tests')
-rw-r--r--chrome/test/automated_ui_tests/automated_ui_test_base.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/test/automated_ui_tests/automated_ui_test_base.cc b/chrome/test/automated_ui_tests/automated_ui_test_base.cc
index 9880fd3..328a411 100644
--- a/chrome/test/automated_ui_tests/automated_ui_test_base.cc
+++ b/chrome/test/automated_ui_tests/automated_ui_test_base.cc
@@ -261,7 +261,8 @@ bool AutomatedUITestBase::Home() {
bool AutomatedUITestBase::OpenAndActivateNewBrowserWindow(
scoped_refptr<BrowserProxy>* previous_browser) {
- if (!automation()->OpenNewBrowserWindow(true /* SW_SHOWNORMAL */)) {
+ if (!automation()->OpenNewBrowserWindow(BrowserProxy::TYPE_NORMAL,
+ true /* SW_SHOWNORMAL */)) {
LogWarningMessage("failed_to_open_new_browser_window");
return false;
}