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

Unified Diff: ui/views/controls/textfield/textfield.cc

Issue 328993002: Ensure that the size passed down to the SetDragImageOnDataObject function called from drag_utils::S… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed parentheses and fixed alignment Created 6 years, 6 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/views/controls/menu/menu_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/textfield.cc
diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
index 12f6ed9499ab70b62e12d61f5ad3bb7af253a1aa..2dd6fb43b0d5436ee563cf0fd2485a8bdbcbfeb4 100644
--- a/ui/views/controls/textfield/textfield.cc
+++ b/ui/views/controls/textfield/textfield.cc
@@ -1009,7 +1009,7 @@ void Textfield::WriteDragDataForView(View* sender,
#endif
label.Paint(canvas.get(), views::CullSet());
const gfx::Vector2d kOffset(-15, 0);
- drag_utils::SetDragImageOnDataObject(*canvas, label.size(), kOffset, data);
+ drag_utils::SetDragImageOnDataObject(*canvas, kOffset, data);
if (controller_)
controller_->OnWriteDragData(data);
}
« no previous file with comments | « ui/views/controls/menu/menu_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698