| Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| index dc6872531d5b8c437bdd855b373abf1a32a73316..f035404bac423a5c8772eb589789cc72cf9a5f17 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| @@ -1528,7 +1528,7 @@ void LocationBarView::RefreshTranslateIcon() {
|
| if (!web_contents)
|
| return;
|
| LanguageState& language_state = TranslateTabHelper::FromWebContents(
|
| - web_contents)->language_state();
|
| + web_contents)->GetLanguageState();
|
| bool enabled = language_state.translate_enabled();
|
| command_updater()->UpdateCommandEnabled(IDC_TRANSLATE_PAGE, enabled);
|
| translate_icon_view_->SetVisible(enabled);
|
|
|