diff options
Diffstat (limited to 'chrome/browser/gtk/tab_contents_drag_source.cc')
-rw-r--r-- | chrome/browser/gtk/tab_contents_drag_source.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/gtk/tab_contents_drag_source.cc b/chrome/browser/gtk/tab_contents_drag_source.cc index 7953ba8..b27ef57 100644 --- a/chrome/browser/gtk/tab_contents_drag_source.cc +++ b/chrome/browser/gtk/tab_contents_drag_source.cc @@ -112,9 +112,7 @@ void TabContentsDragSource::DidProcessEvent(GdkEvent* event) { if (tab_contents()->render_view_host()) { tab_contents()->render_view_host()->DragSourceMovedTo( - client.x(), client.y(), - static_cast<int>(event_motion->x_root), - static_cast<int>(event_motion->y_root)); + client.x(), client.y(), event_motion->x_root, event_motion->y_root); } } |