Chromium Code Reviews| 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 f5b07e474368a2d8484444a0ed37887ddf5a3ff0..cdfec0c6837f89995ff85edb16c4c8ec9f90841b 100644 |
| --- a/ui/views/controls/button/label_button.cc |
| +++ b/ui/views/controls/button/label_button.cc |
| @@ -418,7 +418,8 @@ scoped_ptr<views::InkDropAnimation> LabelButton::CreateInkDropAnimation() |
| return GetText().empty() |
| ? CustomButton::CreateInkDropAnimation() |
| : make_scoped_ptr(new views::FloodFillInkDropAnimation( |
|
bruthig
2016/05/02 14:45:22
FYI I this was using a unique_ptr and I changed it
|
| - size(), GetInkDropCenter(), GetInkDropBaseColor())); |
| + GetLocalBounds(), GetInkDropCenter(), |
| + GetInkDropBaseColor())); |
| } |
| scoped_ptr<views::InkDropHover> LabelButton::CreateInkDropHover() const { |