| Index: chrome/browser/command_updater.cc
|
| diff --git a/chrome/browser/command_updater.cc b/chrome/browser/command_updater.cc
|
| index 4a1b0dbc781961ad6565ffe41aa9a31434eca89c..6b9cfa61a93d5a4d96c888a27925f3132b43bd85 100644
|
| --- a/chrome/browser/command_updater.cc
|
| +++ b/chrome/browser/command_updater.cc
|
| @@ -41,8 +41,14 @@ bool CommandUpdater::SupportsCommand(int id) const {
|
| }
|
|
|
| void CommandUpdater::ExecuteCommand(int id) {
|
| + ExecuteCommandWithDisposition(id, CURRENT_TAB);
|
| +}
|
| +
|
| +void CommandUpdater::ExecuteCommandWithDisposition(
|
| + int id,
|
| + WindowOpenDisposition disposition) {
|
| if (IsCommandEnabled(id))
|
| - delegate_->ExecuteCommand(id);
|
| + delegate_->ExecuteCommandWithDisposition(id, disposition);
|
| }
|
|
|
| CommandUpdater::CommandObserver::~CommandObserver() {
|
|
|