Index: chrome/browser/gtk/bookmark_manager_gtk.cc |
=================================================================== |
--- chrome/browser/gtk/bookmark_manager_gtk.cc (revision 25840) |
+++ chrome/browser/gtk/bookmark_manager_gtk.cc (working copy) |
@@ -1184,7 +1184,9 @@ |
GtkTreePath* path; |
gtk_tree_view_get_path_at_pos(GTK_TREE_VIEW(tree_view), |
- event->x, event->y, &path, NULL, NULL, NULL); |
+ static_cast<gint>(event->x), |
+ static_cast<gint>(event->y), |
+ &path, NULL, NULL, NULL); |
if (path == NULL) |
return TRUE; |
@@ -1208,10 +1210,10 @@ |
return FALSE; |
if (gtk_drag_check_threshold(tree_view, |
- bm->mousedown_event_.x, |
- bm->mousedown_event_.y, |
- event->x, |
- event->y)) { |
+ static_cast<gint>(bm->mousedown_event_.x), |
+ static_cast<gint>(bm->mousedown_event_.y), |
+ static_cast<gint>(event->x), |
+ static_cast<gint>(event->y))) { |
bm->delaying_mousedown_ = false; |
GtkTargetList* targets = GtkDndUtil::GetTargetListFromCodeMask( |
GtkDndUtil::CHROME_BOOKMARK_ITEM | |