removed unnecessary braces

This commit is contained in:
Matt Way 2017-11-28 18:27:47 +10:00 committed by Cheng Zhao
parent 638d8219c4
commit 8df4402722

View file

@ -402,9 +402,8 @@ TrayIconCocoa::TrayIconCocoa() : menu_model_(nullptr) {
TrayIconCocoa::~TrayIconCocoa() {
[status_item_view_ removeItem];
if (menu_model_){
if (menu_model_)
menu_model_->RemoveObserver(this);
}
}
void TrayIconCocoa::SetImage(const gfx::Image& image) {