mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 889236 - Cleanup GeckoLoader.loadMozGlue after bug 850875. r=kats
This commit is contained in:
parent
25bedb35ef
commit
ab5c5faa99
@ -98,7 +98,7 @@ public class GeckoApplication extends Application {
|
||||
public void onCreate() {
|
||||
HardwareUtils.init(getApplicationContext());
|
||||
Clipboard.init(getApplicationContext());
|
||||
GeckoLoader.loadMozGlue(getApplicationContext());
|
||||
GeckoLoader.loadMozGlue();
|
||||
super.onCreate();
|
||||
}
|
||||
|
||||
|
@ -225,7 +225,7 @@ public final class GeckoLoader {
|
||||
sSQLiteLibsLoaded = true;
|
||||
}
|
||||
|
||||
loadMozGlue(context);
|
||||
loadMozGlue();
|
||||
// the extract libs parameter is being removed in bug 732069
|
||||
loadLibsSetup(context);
|
||||
loadSQLiteLibsNative(apkName, false);
|
||||
@ -239,12 +239,12 @@ public final class GeckoLoader {
|
||||
sNSSLibsLoaded = true;
|
||||
}
|
||||
|
||||
loadMozGlue(context);
|
||||
loadMozGlue();
|
||||
loadLibsSetup(context);
|
||||
loadNSSLibsNative(apkName, false);
|
||||
}
|
||||
|
||||
public static void loadMozGlue(Context context) {
|
||||
public static void loadMozGlue() {
|
||||
synchronized (sLibLoadingLock) {
|
||||
if (sMozGlueLoaded) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user