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

Unified Diff: ui/views/controls/tree/tree_view_win.cc

Issue 10828265: Replace views::LocatedEvent with ui::LocatedEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/tree/tree_view_views.cc ('k') | ui/views/events/event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/tree/tree_view_win.cc
===================================================================
--- ui/views/controls/tree/tree_view_win.cc (revision 151267)
+++ ui/views/controls/tree/tree_view_win.cc (working copy)
@@ -496,7 +496,7 @@
// Make sure the mouse is over the selected node.
TVHITTESTINFO hit_info;
gfx::Point local_loc(location);
- ConvertPointToView(NULL, this, &local_loc);
+ ConvertPointToTarget(NULL, this, &local_loc);
hit_info.pt = local_loc.ToPOINT();
HTREEITEM hit_item = TreeView_HitTest(tree_view_, &hit_info);
if (!hit_item ||
« no previous file with comments | « ui/views/controls/tree/tree_view_views.cc ('k') | ui/views/events/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698