| Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
 | 
| ===================================================================
 | 
| --- chrome/browser/ui/views/location_bar/location_bar_view.cc	(revision 152744)
 | 
| +++ chrome/browser/ui/views/location_bar/location_bar_view.cc	(working copy)
 | 
| @@ -295,14 +295,16 @@
 | 
|      AddChildView(star_view_);
 | 
|      star_view_->SetVisible(true);
 | 
|  
 | 
| -    // Disable Chrome To Mobile for off-the-record and non-synced profiles,
 | 
| +    // Also disable Chrome To Mobile for off-the-record and non-synced profiles,
 | 
|      // or if the feature is disabled by a command line flag or chrome://flags.
 | 
|      if (!profile_->IsOffTheRecord() && profile_->IsSyncAccessible() &&
 | 
|          ChromeToMobileService::IsChromeToMobileEnabled()) {
 | 
|        chrome_to_mobile_view_ = new ChromeToMobileView(this, command_updater_);
 | 
|        AddChildView(chrome_to_mobile_view_);
 | 
| -      chrome_to_mobile_view_->SetVisible(
 | 
| -          ChromeToMobileServiceFactory::GetForProfile(profile_)->HasMobiles());
 | 
| +      ChromeToMobileService* service =
 | 
| +          ChromeToMobileServiceFactory::GetForProfile(profile_);
 | 
| +      service->RequestMobileListUpdate();
 | 
| +      chrome_to_mobile_view_->SetVisible(service->HasMobiles());
 | 
|      }
 | 
|    }
 | 
|  
 | 
| 
 |