| Index: ui/views/controls/slider.cc
|
| diff --git a/ui/views/controls/slider.cc b/ui/views/controls/slider.cc
|
| index 8c82ea3864a254e5c8dc1869d601523b40789229..8be3c92579388e11a96be09bdbbc0a342089da1f 100644
|
| --- a/ui/views/controls/slider.cc
|
| +++ b/ui/views/controls/slider.cc
|
| @@ -91,7 +91,7 @@ void Slider::SetValueInternal(float value, SliderChangeReason reason) {
|
| if (listener_)
|
| listener_->SliderValueChanged(this, value_, old_value, reason);
|
|
|
| - if (old_value_valid && MessageLoop::current()) {
|
| + if (old_value_valid && base::MessageLoop::current()) {
|
| // Do not animate when setting the value of the slider for the first time.
|
| // There is no message-loop when running tests. So we cannot animate then.
|
| animating_value_ = old_value;
|
|
|