Index: chrome/browser/gtk/tab_contents_drag_source.h |
diff --git a/chrome/browser/gtk/tab_contents_drag_source.h b/chrome/browser/gtk/tab_contents_drag_source.h |
index 65f0ba13977a39cf9038e9adaf64786b3bf86c53..423f895246f3ec9c305e90f8209a421a80c9e0b3 100644 |
--- a/chrome/browser/gtk/tab_contents_drag_source.h |
+++ b/chrome/browser/gtk/tab_contents_drag_source.h |
@@ -59,11 +59,10 @@ class TabContentsDragSource : public MessageLoopForUI::Observer { |
static void OnDragEndThunk(GtkWidget* widget, |
GdkDragContext* drag_context, |
TabContentsDragSource* handler) { |
- handler->OnDragEnd(drag_context, WebKit::WebDragOperationCopy); |
- // TODO(snej): Pass actual operation instead of hardcoding copy |
+ handler->OnDragEnd(drag_context, drag_context->action); |
} |
void OnDragEnd(GdkDragContext* drag_context, |
- WebKit::WebDragOperation operation); |
+ GdkDragAction operation); |
static void OnDragDataGetThunk(GtkWidget* drag_widget, |
GdkDragContext* context, |
GtkSelectionData* selection_data, |