summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/testing_automation_provider.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-11 00:56:32 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-11 00:56:32 +0000
commit0946b9f4cbc2c00c5e29fa612ababb6760d52c18 (patch)
tree168e9988d7406a0e1bd730d89faf3f1732e9ae1d /chrome/browser/automation/testing_automation_provider.cc
parent628fa78509ba66e0e2e6e12f68f324dbe5090967 (diff)
downloadchromium_src-0946b9f4cbc2c00c5e29fa612ababb6760d52c18.zip
chromium_src-0946b9f4cbc2c00c5e29fa612ababb6760d52c18.tar.gz
chromium_src-0946b9f4cbc2c00c5e29fa612ababb6760d52c18.tar.bz2
Fix the pyauto test that I broke in r145946.
Review URL: https://chromiumcodereview.appspot.com/10689149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146013 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/testing_automation_provider.cc')
-rw-r--r--chrome/browser/automation/testing_automation_provider.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index cadf203..57a3d73 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -1220,13 +1220,13 @@ void TestingAutomationProvider::OpenProfileWindow(
"Invalid or missing arg: 'num_loads'");
return;
}
- new BrowserOpenedWithExistingProfileNotificationObserver(
- this, reply_message, num_loads);
- ProfileManager::FindOrCreateNewWindowForProfile(
- profile,
- chrome::startup::IS_NOT_PROCESS_STARTUP,
- chrome::startup::IS_NOT_FIRST_RUN,
- 0);
+ new BrowserOpenedWithExistingProfileNotificationObserver(
+ this, reply_message, num_loads);
+ ProfileManager::FindOrCreateNewWindowForProfile(
+ profile,
+ chrome::startup::IS_NOT_PROCESS_STARTUP,
+ chrome::startup::IS_NOT_FIRST_RUN,
+ 0);
}
void TestingAutomationProvider::GetWindowForBrowser(int browser_handle,