| Index: chrome/browser/translate/options_menu_model.cc
|
| diff --git a/chrome/browser/translate/options_menu_model.cc b/chrome/browser/translate/options_menu_model.cc
|
| index f687db0d44b0f73f12dc64d8324d5ff713f7a22d..d0dcbda58679523d90b57359200f3299867301e1 100644
|
| --- a/chrome/browser/translate/options_menu_model.cc
|
| +++ b/chrome/browser/translate/options_menu_model.cc
|
| @@ -96,7 +96,7 @@ bool OptionsMenuModel::IsCommandIdEnabled(int command_id) const {
|
| DCHECK(translate_infobar_delegate_->owner() != NULL);
|
| DCHECK(translate_infobar_delegate_->owner()->tab_contents() != NULL);
|
| NavigationEntry* entry = translate_infobar_delegate_->owner()->
|
| - tab_contents()->GetController().GetActiveEntry();
|
| + tab_contents()->controller().GetActiveEntry();
|
| // Delegate and tab contents should never be NULL, but active entry
|
| // can be NULL when running tests. We want to return false if NULL.
|
| return (entry != NULL) && !entry->url().SchemeIsSecure();
|
|
|