| Index: ui/views/widget/native_widget_aura.cc
|
| diff --git a/ui/views/widget/native_widget_aura.cc b/ui/views/widget/native_widget_aura.cc
|
| index 2deab23d245e5707ed97e1752060c690645836c9..a90db1fcdf3acfdab4c5a58248466c39c0230675 100644
|
| --- a/ui/views/widget/native_widget_aura.cc
|
| +++ b/ui/views/widget/native_widget_aura.cc
|
| @@ -676,9 +676,10 @@ Widget::MoveLoopResult NativeWidgetAura::RunMoveLoop(
|
| if (window_->parent() &&
|
| aura::client::GetWindowMoveClient(window_->parent())) {
|
| SetCapture();
|
| - aura::client::GetWindowMoveClient(window_->parent())->RunMoveLoop(
|
| - window_, drag_offset);
|
| - return Widget::MOVE_LOOP_SUCCESSFUL;
|
| + if (aura::client::GetWindowMoveClient(window_->parent())->RunMoveLoop(
|
| + window_, drag_offset) == aura::client::MOVE_SUCCESSFUL) {
|
| + return Widget::MOVE_LOOP_SUCCESSFUL;
|
| + }
|
| }
|
| return Widget::MOVE_LOOP_CANCELED;
|
| }
|
|
|