revert most of "Switch working copy to Goanna 4" (https://github.com/MoonchildProductions/moebius/commit/c4895374053ab93b4f365d3e690e99a30ffa1a2f) in order to keep upstream patch applicable

This commit is contained in:
2019-02-20 00:30:25 +08:00
parent ebfc3f0a8f
commit f63e51e471
4574 changed files with 242120 additions and 238886 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ nsJNIString::nsJNIString(jstring jstr, JNIEnv *jenv)
}
JNIEnv *jni = jenv;
if (!jni) {
jni = jni::GetGoannaThreadEnv();
jni = jni::GetGeckoThreadEnv();
}
const jchar* jCharPtr = jni->GetStringChars(jstr, nullptr);
@@ -42,7 +42,7 @@ nsJNICString::nsJNICString(jstring jstr, JNIEnv *jenv)
}
JNIEnv *jni = jenv;
if (!jni) {
jni = jni::GetGoannaThreadEnv();
jni = jni::GetGeckoThreadEnv();
}
const char* jCharPtr = jni->GetStringUTFChars(jstr, nullptr);