Index: ui/views/widget/native_widget_mac.mm |
diff --git a/ui/views/widget/native_widget_mac.mm b/ui/views/widget/native_widget_mac.mm |
index bfde5f6305812b5046c5e364c69df5170d68af90..c6bdb70e6a87df52fe93a199b8dcb36544645aa7 100644 |
--- a/ui/views/widget/native_widget_mac.mm |
+++ b/ui/views/widget/native_widget_mac.mm |
@@ -551,12 +551,15 @@ Widget::MoveLoopResult NativeWidgetMac::RunMoveLoop( |
const gfx::Vector2d& drag_offset, |
Widget::MoveLoopSource source, |
Widget::MoveLoopEscapeBehavior escape_behavior) { |
- NOTIMPLEMENTED(); |
- return Widget::MOVE_LOOP_CANCELED; |
+ if (!bridge_) |
+ return Widget::MOVE_LOOP_CANCELED; |
+ |
+ return bridge_->RunMoveLoop(drag_offset); |
} |
void NativeWidgetMac::EndMoveLoop() { |
- NOTIMPLEMENTED(); |
+ if (bridge_) |
+ bridge_->EndMoveLoop(); |
} |
void NativeWidgetMac::SetVisibilityChangedAnimationsEnabled(bool value) { |