| Index: ui/views/cocoa/drag_drop_client_mac.mm
|
| diff --git a/ui/views/cocoa/drag_drop_client_mac.mm b/ui/views/cocoa/drag_drop_client_mac.mm
|
| index f2b77998edb4a177aca2703b3d8690e4a464a4b8..9dda333f01be43f1580fc022315501b8f7f162ef 100644
|
| --- a/ui/views/cocoa/drag_drop_client_mac.mm
|
| +++ b/ui/views/cocoa/drag_drop_client_mac.mm
|
| @@ -79,6 +79,11 @@ void DragDropClientMac::StartDragAndDrop(
|
| const ui::OSExchangeDataProviderMac& provider =
|
| static_cast<const ui::OSExchangeDataProviderMac&>(data.provider());
|
|
|
| + // Release capture before beginning the dragging session. Capture may have
|
| + // been acquired on the mouseDown, but capture is not required during the
|
| + // dragging session and the mouseUp that would release it will be suppressed.
|
| + bridge_->ReleaseCapture();
|
| +
|
| // Synthesize an event for dragging, since we can't be sure that
|
| // [NSApp currentEvent] will return a valid dragging event.
|
| NSWindow* window = bridge_->ns_window();
|
|
|