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 424f5c5e50ca62297b50c809cf333cb25e92f917..c42c556757fdb7069e9d9e534ad7b7ecee650da0 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
@@ -293,7 +293,7 @@ void LocationBarView::Init(views::View* popup_parent_view) { |
ChromeToMobileService* service = |
ChromeToMobileServiceFactory::GetForProfile(profile_); |
service->RequestMobileListUpdate(); |
- chrome_to_mobile_view_->SetVisible(service->HasDevices()); |
+ chrome_to_mobile_view_->SetVisible(service->HasMobiles()); |
} |
} |
@@ -407,7 +407,7 @@ void LocationBarView::Update(const WebContents* tab_for_state_restoring) { |
star_view_->SetVisible(star_enabled); |
bool enabled = chrome_to_mobile_view_ && !model_->input_in_progress() && |
- ChromeToMobileServiceFactory::GetForProfile(profile_)->HasDevices(); |
+ ChromeToMobileServiceFactory::GetForProfile(profile_)->HasMobiles(); |
command_updater_->UpdateCommandEnabled(IDC_CHROME_TO_MOBILE_PAGE, enabled); |
// Don't Update in app launcher mode so that the location entry does not show |