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

Unified Diff: ui/views/controls/button/label_button.cc

Issue 2026833003: MD - update checkbox and radio buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky review Created 4 years, 7 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 | « ui/views/controls/button/label_button.h ('k') | ui/views/controls/button/radio_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/label_button.cc
diff --git a/ui/views/controls/button/label_button.cc b/ui/views/controls/button/label_button.cc
index 8c13cf00079a77fd6f6a80664e590b9e06a842af..a3fe0b74a23aaf8f4064158d164914f5e7159037 100644
--- a/ui/views/controls/button/label_button.cc
+++ b/ui/views/controls/button/label_button.cc
@@ -116,7 +116,7 @@ LabelButton::LabelButton(ButtonListener* listener, const base::string16& text)
LabelButton::~LabelButton() {}
-const gfx::ImageSkia& LabelButton::GetImage(ButtonState for_state) {
+gfx::ImageSkia LabelButton::GetImage(ButtonState for_state) const {
if (for_state != STATE_NORMAL && button_state_images_[for_state].isNull())
return button_state_images_[STATE_NORMAL];
return button_state_images_[for_state];
« no previous file with comments | « ui/views/controls/button/label_button.h ('k') | ui/views/controls/button/radio_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698