| Index: chrome/browser/extensions/browser_extension_window_controller.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/browser_extension_window_controller.cc (revision 145001)
|
| +++ chrome/browser/extensions/browser_extension_window_controller.cc (working copy)
|
| @@ -9,6 +9,7 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/sessions/session_id.h"
|
| #include "chrome/browser/ui/browser.h"
|
| +#include "chrome/browser/ui/browser_tabstrip.h"
|
| #include "chrome/browser/ui/browser_window.h"
|
| #include "chrome/common/extensions/extension.h"
|
|
|
| @@ -52,7 +53,7 @@
|
| bool BrowserExtensionWindowController::CanClose(Reason* reason) const {
|
| // Don't let an extension remove the window if the user is dragging tabs
|
| // in that window.
|
| - if (!browser_->IsTabStripEditable()) {
|
| + if (!chrome::IsTabStripEditable(browser_)) {
|
| *reason = ExtensionWindowController::REASON_NOT_EDITABLE;
|
| return false;
|
| }
|
|
|