Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Unified Diff: ui/base/dragdrop/drop_target.cc

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: windows fixes Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/dragdrop/drop_target.h ('k') | webkit/extensions/v8/gears_extension.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ui/base/dragdrop/drop_target.h ('k') | webkit/extensions/v8/gears_extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698