diff options
Diffstat (limited to 'ui/base/dragdrop/drop_target.cc')
-rw-r--r-- | ui/base/dragdrop/drop_target.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ui/base/dragdrop/drop_target.cc b/ui/base/dragdrop/drop_target.cc index 9cf1c9d..a938b2a 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); |