| Index: content/browser/web_contents/web_drag_source_mac.mm
|
| diff --git a/content/browser/web_contents/web_drag_source_mac.mm b/content/browser/web_contents/web_drag_source_mac.mm
|
| index 83521f11c7c91afa509d94c8b602dc03928ca92a..841d47ee4507eb4c688177143ad732d7d45f9878 100644
|
| --- a/content/browser/web_contents/web_drag_source_mac.mm
|
| +++ b/content/browser/web_contents/web_drag_source_mac.mm
|
| @@ -282,9 +282,8 @@ void PromiseWriterHelper(const WebDropData& drop_data,
|
| if (operation == (NSDragOperationMove | NSDragOperationCopy))
|
| operation &= ~NSDragOperationMove;
|
|
|
| - rvh->DragSourceEndedAt(localPoint.x, localPoint.y,
|
| - screenPoint.x, screenPoint.y,
|
| - static_cast<WebKit::WebDragOperation>(operation));
|
| + contents_->DragSourceEndedAt(localPoint.x, localPoint.y, screenPoint.x,
|
| + screenPoint.y, static_cast<WebKit::WebDragOperation>(operation));
|
| }
|
|
|
| // Make sure the pasteboard owner isn't us.
|
| @@ -307,8 +306,8 @@ void PromiseWriterHelper(const WebDropData& drop_data,
|
| NSRect screenFrame = [[[contentsView_ window] screen] frame];
|
| screenPoint.y = screenFrame.size.height - screenPoint.y;
|
|
|
| - rvh->DragSourceMovedTo(localPoint.x, localPoint.y,
|
| - screenPoint.x, screenPoint.y);
|
| + contents_->DragSourceMovedTo(localPoint.x, localPoint.y,
|
| + screenPoint.x, screenPoint.y);
|
| }
|
| }
|
|
|
|
|