Index: ui/base/dragdrop/drop_target.cc |
diff --git a/ui/base/dragdrop/drop_target.cc b/ui/base/dragdrop/drop_target.cc |
index 9cf1c9d703d04875b74a244a1a9ff8d9d43d96ea..a938b2a7d779c9189c6b16462d385888b0e17503 100644 |
--- a/ui/base/dragdrop/drop_target.cc |
+++ b/ui/base/dragdrop/drop_target.cc |
@@ -11,7 +11,6 @@ |
namespace ui { |
IDropTargetHelper* DropTarget::cached_drop_target_helper_ = NULL; |
-int32 DropTarget::drag_identity_ = 0; |
DropTarget::DropTarget(HWND hwnd) |
: hwnd_(hwnd), |
@@ -55,10 +54,6 @@ HRESULT DropTarget::DragEnter(IDataObject* data_object, |
return S_OK; |
} |
- // Update the drag identity, skipping 0. |
- if (++drag_identity_ == 0) |
- ++drag_identity_; |
- |
current_data_object_ = data_object; |
POINT screen_pt = { cursor_position.x, cursor_position.y }; |
*effect = OnDragEnter(current_data_object_, key_state, screen_pt, *effect); |