Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: ui/message_center/notifier_settings.cc

Issue 12077016: Calls Layout() explicitly when an icon is loaded. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/notifier_settings.cc
diff --git a/ui/message_center/notifier_settings.cc b/ui/message_center/notifier_settings.cc
index 70926d443104cc0fe6f07a97b40811b611fc4836..2712230007cbc72fedfbd82411cd333cebc3e60a 100644
--- a/ui/message_center/notifier_settings.cc
+++ b/ui/message_center/notifier_settings.cc
@@ -63,6 +63,7 @@ class NotifierSettingsView::NotifierButton : public views::CustomButton,
icon_view_->SetImage(icon);
icon_view_->SetImageSize(gfx::Size(kSettingsIconSize, kSettingsIconSize));
}
+ Layout();
SchedulePaint();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698