Changeset 148024 in webkit


Ignore:
Timestamp:
Apr 9, 2013 7:48:17 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[BlackBerry] InputHandler: fix calls to HTMLInputElement methods
https://bugs.webkit.org/show_bug.cgi?id=114283

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-04-09
Reviewed by Rob Buis.

Fix calls with wrong names.

  • WebKitSupport/InputHandler.cpp:

(BlackBerry::WebKit::convertInputType):

Location:
trunk/Source/WebKit/blackberry
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/blackberry/ChangeLog

    r147979 r148024  
     12013-04-09  Alberto Garcia  <agarcia@igalia.com>
     2
     3        [BlackBerry] InputHandler: fix calls to HTMLInputElement methods
     4        https://bugs.webkit.org/show_bug.cgi?id=114283
     5
     6        Reviewed by Rob Buis.
     7
     8        Fix calls with wrong names.
     9
     10        * WebKitSupport/InputHandler.cpp:
     11        (BlackBerry::WebKit::convertInputType):
     12
    1132013-04-08  Benjamin Poulain  <benjamin@webkit.org>
    214
  • trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp

    r147744 r148024  
    171171    if (inputElement->isEmailField())
    172172        return InputTypeEmail;
    173     if (inputElement->isMonthControl())
     173    if (inputElement->isMonthField())
    174174        return InputTypeMonth;
    175175    if (inputElement->isNumberField())
     
    183183        return InputTypeColor;
    184184#endif
    185     if (inputElement->isDateControl())
     185    if (inputElement->isDateField())
    186186        return InputTypeDate;
    187     if (inputElement->isDateTimeControl())
     187    if (inputElement->isDateTimeField())
    188188        return InputTypeDateTime;
    189     if (inputElement->isDateTimeLocalControl())
     189    if (inputElement->isDateTimeLocalField())
    190190        return InputTypeDateTimeLocal;
    191     if (inputElement->isTimeControl())
     191    if (inputElement->isTimeField())
    192192        return InputTypeTime;
    193193    // FIXME: missing WEEK popup selector
Note: See TracChangeset for help on using the changeset viewer.