Index: views/widget/widget_gtk.cc |
=================================================================== |
--- views/widget/widget_gtk.cc (revision 45523) |
+++ views/widget/widget_gtk.cc (working copy) |
@@ -1110,7 +1110,8 @@ |
// An event may come from a contained widget which has its own gdk window. |
// Translate it to the widget's coordinates. |
- int x, y; |
+ int x = 0; |
+ int y = 0; |
GetContainedWidgetEventCoordinates(event, &x, &y); |
last_mouse_event_was_move_ = false; |
MouseEvent mouse_pressed(Event::ET_MOUSE_PRESSED, x, y, |