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

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

Issue 2026833003: MD - update checkbox and radio buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: ui/views/controls/button/label_button.h
diff --git a/ui/views/controls/button/label_button.h b/ui/views/controls/button/label_button.h
index ceed96d9579f04e40a78af72bc15204d0db52687..e38bd58c7d04de05529f7158a246820a7322bf13 100644
--- a/ui/views/controls/button/label_button.h
+++ b/ui/views/controls/button/label_button.h
@@ -41,7 +41,7 @@ class VIEWS_EXPORT LabelButton : public CustomButton,
// Gets or sets the image shown for the specified button state.
// GetImage returns the image for STATE_NORMAL if the state's image is empty.
- virtual const gfx::ImageSkia& GetImage(ButtonState for_state);
+ virtual gfx::ImageSkia GetImage(ButtonState for_state) const;
void SetImage(ButtonState for_state, const gfx::ImageSkia& image);
// Gets or sets the text shown on the button.

Powered by Google App Engine
This is Rietveld 408576698