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

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

Issue 275183002: patch from issue 218843002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 7 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/separator.cc ('k') | ui/views/cull_set.h » ('j') | 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 6d513a14038fcb3baa0eb3fb9924bc0cddb9a6a0..78d5ae5b8a3b078bd2466e3dac247337835d6220 100644
--- a/ui/views/controls/textfield/textfield.cc
+++ b/ui/views/controls/textfield/textfield.cc
@@ -955,7 +955,7 @@ void Textfield::WriteDragDataForView(View* sender,
// Desktop Linux Aura does not yet support transparency in drag images.
canvas->DrawColor(background);
#endif
- label.Paint(canvas.get());
+ label.Paint(canvas.get(), views::CullSet());
const gfx::Vector2d kOffset(-15, 0);
drag_utils::SetDragImageOnDataObject(*canvas, label.size(), kOffset, data);
if (controller_)
« no previous file with comments | « ui/views/controls/separator.cc ('k') | ui/views/cull_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698