changeset 9507:8643ca988cef

8090061: [WebView] replace "char*" with "const char*" where appropriate Reviewed-by: azvegint, kcr
author mbilla
date Wed, 13 Jan 2016 11:27:56 +0300
parents 3de3cb841a4b
children 85aa813cd25b
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	Fri Jan 15 11:53:45 2016 -0800
+++ 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);
 }