| 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 3402c3eece209af4ea7bbb2450fbeee3f3e80de6..21404279a94d45b6018bc61e3aab8c80ec05982b 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| @@ -1261,7 +1261,7 @@ void LocationBarView::RefreshTranslateIcon() {
|
| WebContents* web_contents = GetWebContents();
|
| if (!web_contents)
|
| return;
|
| - LanguageState& language_state =
|
| + translate::LanguageState& language_state =
|
| ChromeTranslateClient::FromWebContents(web_contents)->GetLanguageState();
|
| bool enabled = language_state.translate_enabled();
|
| command_updater()->UpdateCommandEnabled(IDC_TRANSLATE_PAGE, enabled);
|
|
|