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

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

Issue 1534303002: CustomButton cleanup: make protected members private, create accessors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert a change Created 5 years 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.cc
diff --git a/ui/views/controls/button/label_button.cc b/ui/views/controls/button/label_button.cc
index 2bb88c31577dce344c4d8a939fe7622ce5838713..fcc0d436f8bf9c0e396b65c7c4e1ad1c6f795927 100644
--- a/ui/views/controls/button/label_button.cc
+++ b/ui/views/controls/button/label_button.cc
@@ -496,7 +496,7 @@ ui::NativeTheme::State LabelButton::GetThemeState(
}
const gfx::Animation* LabelButton::GetThemeAnimation() const {
- return hover_animation_.get();
+ return &hover_animation();
}
ui::NativeTheme::State LabelButton::GetBackgroundThemeState(

Powered by Google App Engine
This is Rietveld 408576698