| Index: chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.cc b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| index be719e60660301c027b3c49b25aa83acc5688bd7..a5a8128b675e6223db4294ca31bd3d7e9e300876 100644
|
| --- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| @@ -560,7 +560,7 @@ void LocationBarViewGtk::Init(bool popup_window_mode) {
|
| CreateStarButton();
|
| gtk_box_pack_end(GTK_BOX(hbox_.get()), star_.get(), FALSE, FALSE, 0);
|
|
|
| - // Also disable Chrome To Mobile for off-the-record and non-synced profiles,
|
| + // 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,8 +568,7 @@ void LocationBarViewGtk::Init(bool popup_window_mode) {
|
| 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);
|
| - ChromeToMobileServiceFactory::GetForProfile(browser_->profile())->
|
| - RequestMobileListUpdate();
|
| + UpdateChromeToMobileIcon();
|
| }
|
| }
|
|
|
|
|