| Index: chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/ui/gtk/location_bar_view_gtk.cc (revision 152612)
|
| +++ chrome/browser/ui/gtk/location_bar_view_gtk.cc (working copy)
|
| @@ -560,7 +560,7 @@
|
| CreateStarButton();
|
| gtk_box_pack_end(GTK_BOX(hbox_.get()), star_.get(), FALSE, FALSE, 0);
|
|
|
| - // 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()) {
|
| @@ -568,7 +568,8 @@
|
| gtk_box_pack_end(GTK_BOX(hbox_.get()), chrome_to_mobile_view_.get(),
|
| FALSE, FALSE, 0);
|
| command_updater_->AddCommandObserver(IDC_CHROME_TO_MOBILE_PAGE, this);
|
| - UpdateChromeToMobileIcon();
|
| + ChromeToMobileServiceFactory::GetForProfile(browser_->profile())->
|
| + RequestMobileListUpdate();
|
| }
|
| }
|
|
|
|
|