diff --git a/shell/browser/ui/tray_icon_gtk.cc b/shell/browser/ui/tray_icon_gtk.cc index 87949d0b86..6baa35e793 100644 --- a/shell/browser/ui/tray_icon_gtk.cc +++ b/shell/browser/ui/tray_icon_gtk.cc @@ -38,8 +38,8 @@ void TrayIconGtk::SetToolTip(const std::string& tool_tip) { } void TrayIconGtk::SetContextMenu(AtomMenuModel* menu_model) { - icon_->UpdatePlatformContextMenu(menu_model_); menu_model_ = menu_model; + icon_->UpdatePlatformContextMenu(menu_model_); } const gfx::ImageSkia& TrayIconGtk::GetImage() const {