| Index: chrome/browser/ui/panels/old_panel.cc
|
| ===================================================================
|
| --- chrome/browser/ui/panels/old_panel.cc (revision 144460)
|
| +++ chrome/browser/ui/panels/old_panel.cc (working copy)
|
| @@ -5,6 +5,8 @@
|
| #include "chrome/browser/ui/panels/old_panel.h"
|
|
|
| #include "chrome/browser/ui/browser.h"
|
| +#include "chrome/browser/ui/browser_command_controller.h"
|
| +#include "chrome/browser/ui/browser_commands.h"
|
| #include "chrome/browser/ui/panels/panel_browser_window.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
|
|
| @@ -25,7 +27,7 @@
|
| }
|
|
|
| CommandUpdater* OldPanel::command_updater() {
|
| - return browser_->command_updater();
|
| + return browser_->command_controller()->command_updater();
|
| }
|
|
|
| Profile* OldPanel::profile() const {
|
| @@ -51,8 +53,8 @@
|
| }
|
|
|
| void OldPanel::ExecuteCommandWithDisposition(
|
| - int id, WindowOpenDisposition disposition) {
|
| - browser_->ExecuteCommandWithDisposition(id, disposition);
|
| + int id, WindowOpenDisposition disposition) {
|
| + chrome::ExecuteCommandWithDisposition(browser_, id, disposition);
|
| }
|
|
|
| SkBitmap OldPanel::GetCurrentPageIcon() const {
|
|
|