summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-24 19:35:15 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-24 19:35:15 +0000
commit5e5df50b03c73dad60d81c989b11d8e1ee436dbe (patch)
tree9d64b42c5c109dfe14581e56c9bb6a731d82e352 /chrome/browser/automation
parentd62232baeefd5a2b0385238647266d26332628d0 (diff)
downloadchromium_src-5e5df50b03c73dad60d81c989b11d8e1ee436dbe.zip
chromium_src-5e5df50b03c73dad60d81c989b11d8e1ee436dbe.tar.gz
chromium_src-5e5df50b03c73dad60d81c989b11d8e1ee436dbe.tar.bz2
Reverting r12383, caused a build breakage on all platforms.
TBR=idanan Review URL: http://codereview.chromium.org/42571 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12385 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation')
-rw-r--r--chrome/browser/automation/automation_provider.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index ccdb32d..94cb54f 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -1029,7 +1029,7 @@ void AutomationProvider::GoBack(int handle, IPC::Message* reply_message) {
tab, reply_message, AUTOMATION_MSG_NAVIGATION_SUCCESS,
AUTOMATION_MSG_NAVIGATION_AUTH_NEEDED,
AUTOMATION_MSG_NAVIGATION_ERROR);
- browser->GoBack(CURRENT_TAB);
+ browser->GoBack();
return;
}
}
@@ -1048,7 +1048,7 @@ void AutomationProvider::GoForward(int handle, IPC::Message* reply_message) {
tab, reply_message, AUTOMATION_MSG_NAVIGATION_SUCCESS,
AUTOMATION_MSG_NAVIGATION_AUTH_NEEDED,
AUTOMATION_MSG_NAVIGATION_ERROR);
- browser->GoForward(CURRENT_TAB);
+ browser->GoForward();
return;
}
}