| 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 764334c0a52a8856296c9d5200ac845e452bd5e1..e3adaa1895a641f3b4db29393aec588e8dc6fe8e 100644
|
| --- a/ui/views/widget/native_widget_aura.cc
|
| +++ b/ui/views/widget/native_widget_aura.cc
|
| @@ -675,9 +675,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;
|
| }
|
|
|