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 621c813292fa9f876f2d3a4ebb0b7a079fe21a59..86b2f232aa7bb6d41c63d4b696e8842ff4f56d12 100644 |
--- a/content/browser/web_contents/web_drag_source_mac.mm |
+++ b/content/browser/web_contents/web_drag_source_mac.mm |
@@ -283,9 +283,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. |
@@ -308,8 +307,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); |
} |
} |