Index: chrome/browser/gtk/tab_contents_drag_source.cc |
diff --git a/chrome/browser/gtk/tab_contents_drag_source.cc b/chrome/browser/gtk/tab_contents_drag_source.cc |
index c0c9c7218d7b5cdcf06fca770b465415cb20a1fa..fc5ffd5c78e0e3070a326e0c643c5d08b902c282 100644 |
--- a/chrome/browser/gtk/tab_contents_drag_source.cc |
+++ b/chrome/browser/gtk/tab_contents_drag_source.cc |
@@ -321,7 +321,7 @@ void TabContentsDragSource::OnDragBegin(GdkDragContext* drag_context) { |
} |
void TabContentsDragSource::OnDragEnd(GdkDragContext* drag_context, |
- WebDragOperation operation) { |
+ GdkDragAction action) { |
MessageLoopForUI::current()->RemoveObserver(this); |
if (!download_url_.is_empty()) { |
@@ -336,7 +336,8 @@ void TabContentsDragSource::OnDragEnd(GdkDragContext* drag_context, |
if (tab_contents()->render_view_host()) { |
tab_contents()->render_view_host()->DragSourceEndedAt( |
- client.x(), client.y(), root.x(), root.y(), operation); |
+ client.x(), client.y(), root.x(), root.y(), |
+ gtk_dnd_util::GdkDragActionToWebDragOp(action)); |
} |
} |