Index: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm |
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm |
index ce77e5c4e63a00b0a4c1140f94ef3ee82dfb4299..cf91f8f326b41c27a8a150502d2cab8ee0e1a055 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm |
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm |
@@ -731,7 +731,7 @@ void LocationBarViewMac::UpdateChromeToMobileEnabled() { |
DCHECK(ChromeToMobileService::IsChromeToMobileEnabled()); |
bool enabled = [field_ isEditable] && !toolbar_model_->input_in_progress() && |
- ChromeToMobileServiceFactory::GetForProfile(profile_)->HasDevices(); |
+ ChromeToMobileServiceFactory::GetForProfile(profile_)->HasMobiles(); |
chrome_to_mobile_decoration_->SetVisible(enabled); |
command_updater_->UpdateCommandEnabled(IDC_CHROME_TO_MOBILE_PAGE, enabled); |
} |