Changeset 65841 in webkit


Ignore:
Timestamp:
Aug 23, 2010 4:32:09 PM (14 years ago)
Author:
Martin Robinson
Message:

2010-08-23 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] The 64-bit Release bot is showing crashes on tests that use mouse buttons
https://bugs.webkit.org/show_bug.cgi?id=44465

Initialize the axes field of mouse button and motion events to null.
This is the value that should be used for events originating from the
mouse device.

  • DumpRenderTree/gtk/EventSender.cpp: (prepareMouseButtonEvent): Initalize button event axes field to null. (mouseMoveToCallback): Initialize motion event axes field to null.
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r65838 r65841  
     12010-08-23  Martin Robinson  <mrobinson@igalia.com>
     2
     3        Reviewed by Gustavo Noronha Silva.
     4
     5        [GTK] The 64-bit Release bot is showing crashes on tests that use mouse buttons
     6        https://bugs.webkit.org/show_bug.cgi?id=44465
     7
     8        Initialize the axes field of mouse button and motion events to null.
     9        This is the value that should be used for events originating from the
     10        mouse device.
     11
     12        * DumpRenderTree/gtk/EventSender.cpp:
     13        (prepareMouseButtonEvent): Initalize button event axes field to null.
     14        (mouseMoveToCallback): Initialize motion event axes field to null.
     15
    1162010-08-23  Sheriff Bot  <webkit.review.bot@gmail.com>
    217
  • trunk/WebKitTools/DumpRenderTree/gtk/EventSender.cpp

    r64470 r65841  
    165165    event->button.state = getStateFlags();
    166166    event->button.time = GDK_CURRENT_TIME;
     167    event->button.axes = 0;
    167168
    168169    int xRoot, yRoot;
     
    291292    event.motion.device = gdk_device_get_core_pointer();
    292293    event.motion.state = getStateFlags();
     294    event.motion.axes = 0;
    293295
    294296    int xRoot, yRoot;
Note: See TracChangeset for help on using the changeset viewer.