Changeset 91173 in webkit


Ignore:
Timestamp:
Jul 17, 2011 11:30:31 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK] Fix selection of elements in a multi select list and remove an unnecessary include in WorkQueue
https://bugs.webkit.org/show_bug.cgi?id=64666

Patch by Amruth Raj <amruthraj@motorola.com> on 2011-07-17
Reviewed by Martin Robinson.

  • Platform/gtk/WorkQueueGtk.cpp: Remove an include which is no longer required
  • Shared/gtk/WebEventFactory.cpp:

(WebKit::modifiersForEvent): Fix an incorrect ASSERT statement
(WebKit::WebEventFactory::createWebMouseEvent): Call the function to determine the modifier keys

Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r91169 r91173  
     12011-07-17  Amruth Raj  <amruthraj@motorola.com>
     2
     3        [GTK] Fix selection of elements in a multi select list and remove an unnecessary include in WorkQueue
     4        https://bugs.webkit.org/show_bug.cgi?id=64666
     5
     6        Reviewed by Martin Robinson.
     7
     8        * Platform/gtk/WorkQueueGtk.cpp: Remove an include which is no longer required
     9        * Shared/gtk/WebEventFactory.cpp:
     10        (WebKit::modifiersForEvent): Fix an incorrect ASSERT statement
     11        (WebKit::WebEventFactory::createWebMouseEvent): Call the function to determine the modifier keys
     12
    1132011-07-17  Lukasz Slachciak  <l.slachciak@samsung.com>
    214
  • trunk/Source/WebKit2/Platform/gtk/WorkQueueGtk.cpp

    r83281 r91173  
    3030
    3131#include "WKBase.h"
    32 #include <WebCore/NotImplemented.h>
    3332#include <gio/gio.h>
    3433#include <glib.h>
  • trunk/Source/WebKit2/Shared/gtk/WebEventFactory.cpp

    r85856 r91173  
    5151    GdkModifierType state;
    5252
    53     ASSERT(gdk_event_get_state(event, &state));
     53    // Check for a valid state in GdkEvent.
     54    if (!gdk_event_get_state(event, &state))
     55        return static_cast<WebEvent::Modifiers>(0);
    5456
    5557    if (state & GDK_CONTROL_MASK)
     
    128130                         0 /* deltaZ */,
    129131                         currentClickCount,
    130                          static_cast<WebEvent::Modifiers>(0),
     132                         modifiersForEvent(event),
    131133                         gdk_event_get_time(event));
    132134}
Note: See TracChangeset for help on using the changeset viewer.