Index: ui/views/controls/button/checkbox.cc |
diff --git a/ui/views/controls/button/checkbox.cc b/ui/views/controls/button/checkbox.cc |
index 22c5f88e2d6c6a61783212485a2873df25d34231..0c212c43ef98d14e412da9e20f2d90fab10fe24c 100644 |
--- a/ui/views/controls/button/checkbox.cc |
+++ b/ui/views/controls/button/checkbox.cc |
@@ -67,7 +67,7 @@ Checkbox::Checkbox(const base::string16& label) |
// Limit the checkbox height to match the legacy appearance. |
const gfx::Size preferred_size(LabelButton::GetPreferredSize()); |
- set_min_size(gfx::Size(0, preferred_size.height() + 4)); |
+ SetMinSize(gfx::Size(0, preferred_size.height() + 4)); |
} |
Checkbox::~Checkbox() { |