bug=32011
r=ashuk a=edburns This set of changes replaces all occurrences of env->Func(args...) with ::util_Func(env, args...) Except of course, for the implementations of the above mentioned ::util_Func() functions. This is done to allow the JNI functions to be called from a non JNI context, such as UNO. git-svn-id: svn://10.0.0.236/trunk@63190 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -304,7 +304,7 @@ JNIEXPORT jstring JNICALL Java_org_mozilla_webclient_wrapper_1native_HistoryImpl
|
||||
charResult = (char *) ::util_PostSynchronousEvent(initContext, event);
|
||||
|
||||
if (charResult != nsnull) {
|
||||
urlString = env->NewStringUTF((const char *) charResult);
|
||||
urlString = ::util_NewStringUTF(env, (const char *) charResult);
|
||||
}
|
||||
else {
|
||||
::util_ThrowExceptionToJava(env, "raptorWebShellGetURL Exception: GetURL() returned nsnull");
|
||||
|
||||
Reference in New Issue
Block a user