Unreviewed. Fix the GTK+ build after r205524.
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Sep 2016 06:14:14 +0000 (06:14 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Sep 2016 06:14:14 +0000 (06:14 +0000)
* WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLInputElement.cpp:
(webkit_dom_html_input_element_get_max_length):
(webkit_dom_html_input_element_set_max_length):
* WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTextAreaElement.cpp:
(webkit_dom_html_text_area_element_get_max_length):
(webkit_dom_html_text_area_element_set_max_length):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@205536 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLInputElement.cpp
Source/WebKit2/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTextAreaElement.cpp

index 096a8f2..7411e95 100644 (file)
@@ -1,3 +1,14 @@
+2016-09-06  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        Unreviewed. Fix the GTK+ build after r205524.
+
+        * WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLInputElement.cpp:
+        (webkit_dom_html_input_element_get_max_length):
+        (webkit_dom_html_input_element_set_max_length):
+        * WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTextAreaElement.cpp:
+        (webkit_dom_html_text_area_element_get_max_length):
+        (webkit_dom_html_text_area_element_set_max_length):
+
 2016-09-06  Daniel Bates  <dabates@apple.com>
 
         [iOS] WebKit2 fails to build with iOS 10 beta SDK - "'UIWKTextInteractionAssistant' may not respond to 'selectAll:'"
index 478ab13..3bd750f 100644 (file)
@@ -1305,7 +1305,7 @@ glong webkit_dom_html_input_element_get_max_length(WebKitDOMHTMLInputElement* se
     WebCore::JSMainThreadNullState state;
     g_return_val_if_fail(WEBKIT_DOM_IS_HTML_INPUT_ELEMENT(self), 0);
     WebCore::HTMLInputElement* item = WebKit::core(self);
-    glong result = item->maxLengthForBindings();
+    glong result = item->maxLength();
     return result;
 }
 
@@ -1316,7 +1316,7 @@ void webkit_dom_html_input_element_set_max_length(WebKitDOMHTMLInputElement* sel
     g_return_if_fail(!error || !*error);
     WebCore::HTMLInputElement* item = WebKit::core(self);
     WebCore::ExceptionCode ec = 0;
-    item->setMaxLengthForBindings(value, ec);
+    item->setMaxLength(value, ec);
     if (ec) {
         WebCore::ExceptionCodeDescription ecdesc(ec);
         g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
index d2ea721..0a3d530 100644 (file)
@@ -681,7 +681,7 @@ glong webkit_dom_html_text_area_element_get_max_length(WebKitDOMHTMLTextAreaElem
     WebCore::JSMainThreadNullState state;
     g_return_val_if_fail(WEBKIT_DOM_IS_HTML_TEXT_AREA_ELEMENT(self), 0);
     WebCore::HTMLTextAreaElement* item = WebKit::core(self);
-    glong result = item->maxLengthForBindings();
+    glong result = item->maxLength();
     return result;
 }
 
@@ -692,7 +692,7 @@ void webkit_dom_html_text_area_element_set_max_length(WebKitDOMHTMLTextAreaEleme
     g_return_if_fail(!error || !*error);
     WebCore::HTMLTextAreaElement* item = WebKit::core(self);
     WebCore::ExceptionCode ec = 0;
-    item->setMaxLengthForBindings(value, ec);
+    item->setMaxLength(value, ec);
     if (ec) {
         WebCore::ExceptionCodeDescription ecdesc(ec);
         g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);