changeset 9496:e798692dff17

8146715: Input fields accepting characters beyond maxlength attribute Reviewed-by: azvegint, kcr
author mbilla
date Wed, 13 Jan 2016 11:27:56 +0300
parents 765fd07f22fc
children 47510c59184e
files modules/web/src/main/native/Source/WebCore/platform/java/api/BackForwardListJava.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/modules/web/src/main/native/Source/WebCore/platform/java/api/BackForwardListJava.cpp	Wed Jan 13 11:24:59 2016 +0300
+++ b/modules/web/src/main/native/Source/WebCore/platform/java/api/BackForwardListJava.cpp	Wed Jan 13 11:27:56 2016 +0300
@@ -34,14 +34,14 @@
     return static_cast<HistoryItem*>(jlong_to_ptr(jitem));
 }
 
-static jmethodID initMethod(JNIEnv* env, jclass cls, char* name, char* signature)
+static jmethodID initMethod(JNIEnv* env, jclass cls, char* name, const char* signature)
 {
     jmethodID mid = env->GetMethodID(cls, name, signature);
     ASSERT(mid);
     return mid;
 }
 
-static jmethodID initCtor(JNIEnv* env, jclass cls, char* signature)
+static jmethodID initCtor(JNIEnv* env, jclass cls, const char* signature)
 {
     return initMethod(env, cls, "<init>", signature);
 }