Bug 889236 - Cleanup GeckoLoader.loadMozGlue after bug 850875. r=kats

This commit is contained in:
Mike Hommey 2013-07-04 10:31:10 +09:00
parent 25bedb35ef
commit ab5c5faa99
2 changed files with 4 additions and 4 deletions

View File

@ -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();
}

View File

@ -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;