Index: chrome/browser/gtk/bookmark_manager_gtk.cc |
diff --git a/chrome/browser/gtk/bookmark_manager_gtk.cc b/chrome/browser/gtk/bookmark_manager_gtk.cc |
index 7c894767d300086b4325fe3eda650db138b2bff7..390fda22872dddf6f9b2df01d67b0017822c2c0a 100644 |
--- a/chrome/browser/gtk/bookmark_manager_gtk.cc |
+++ b/chrome/browser/gtk/bookmark_manager_gtk.cc |
@@ -1185,7 +1185,9 @@ gboolean BookmarkManagerGtk::OnRightTreeViewButtonPress( |
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; |
@@ -1209,10 +1211,10 @@ gboolean BookmarkManagerGtk::OnRightTreeViewMotion( |
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 | |