| 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..6687b6e03c6a054035745de7ac2a05f6adb7e523 100644
|
| --- a/ui/views/controls/button/label_button.cc
|
| +++ b/ui/views/controls/button/label_button.cc
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "base/lazy_instance.h"
|
| #include "base/logging.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "build/build_config.h"
|
| #include "ui/gfx/animation/throb_animation.h"
|
| #include "ui/gfx/canvas.h"
|
| @@ -418,7 +419,8 @@ scoped_ptr<views::InkDropAnimation> LabelButton::CreateInkDropAnimation()
|
| return GetText().empty()
|
| ? CustomButton::CreateInkDropAnimation()
|
| : make_scoped_ptr(new views::FloodFillInkDropAnimation(
|
| - size(), GetInkDropCenter(), GetInkDropBaseColor()));
|
| + GetLocalBounds(), GetInkDropCenter(),
|
| + GetInkDropBaseColor()));
|
| }
|
|
|
| scoped_ptr<views::InkDropHover> LabelButton::CreateInkDropHover() const {
|
|
|