Title: [148024] trunk/Source/WebKit/blackberry
Revision
148024
Author
[email protected]
Date
2013-04-09 07:48:17 -0700 (Tue, 09 Apr 2013)

Log Message

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

Patch by Alberto Garcia <[email protected]> on 2013-04-09
Reviewed by Rob Buis.

Fix calls with wrong names.

* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::convertInputType):

Modified Paths

Diff

Modified: trunk/Source/WebKit/blackberry/ChangeLog (148023 => 148024)


--- trunk/Source/WebKit/blackberry/ChangeLog	2013-04-09 14:35:51 UTC (rev 148023)
+++ trunk/Source/WebKit/blackberry/ChangeLog	2013-04-09 14:48:17 UTC (rev 148024)
@@ -1,3 +1,15 @@
+2013-04-09  Alberto Garcia  <[email protected]>
+
+        [BlackBerry] InputHandler: fix calls to HTMLInputElement methods
+        https://bugs.webkit.org/show_bug.cgi?id=114283
+
+        Reviewed by Rob Buis.
+
+        Fix calls with wrong names.
+
+        * WebKitSupport/InputHandler.cpp:
+        (BlackBerry::WebKit::convertInputType):
+
 2013-04-08  Benjamin Poulain  <[email protected]>
 
         Remove HTML Notification

Modified: trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp (148023 => 148024)


--- trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp	2013-04-09 14:35:51 UTC (rev 148023)
+++ trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp	2013-04-09 14:48:17 UTC (rev 148024)
@@ -170,7 +170,7 @@
         return InputTypeSearch;
     if (inputElement->isEmailField())
         return InputTypeEmail;
-    if (inputElement->isMonthControl())
+    if (inputElement->isMonthField())
         return InputTypeMonth;
     if (inputElement->isNumberField())
         return InputTypeNumber;
@@ -182,13 +182,13 @@
     if (inputElement->isColorControl())
         return InputTypeColor;
 #endif
-    if (inputElement->isDateControl())
+    if (inputElement->isDateField())
         return InputTypeDate;
-    if (inputElement->isDateTimeControl())
+    if (inputElement->isDateTimeField())
         return InputTypeDateTime;
-    if (inputElement->isDateTimeLocalControl())
+    if (inputElement->isDateTimeLocalField())
         return InputTypeDateTimeLocal;
-    if (inputElement->isTimeControl())
+    if (inputElement->isTimeField())
         return InputTypeTime;
     // FIXME: missing WEEK popup selector
     if (DOMSupport::elementIdOrNameIndicatesEmail(inputElement))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to