mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 645089 - Stop using [deprecated] Storage methods (XPIProvider.jsm)
r=Unfocused
This commit is contained in:
parent
db69572e5f
commit
2a3d1a2c98
@ -4564,7 +4564,7 @@ var XPIDatabase = {
|
|||||||
// Note that binding to index 0 sets the value for the ?1 parameter
|
// Note that binding to index 0 sets the value for the ?1 parameter
|
||||||
stmt = this.getStatement("getVisibleAddons_" + aTypes.length, sql);
|
stmt = this.getStatement("getVisibleAddons_" + aTypes.length, sql);
|
||||||
for (let i = 0; i < aTypes.length; i++)
|
for (let i = 0; i < aTypes.length; i++)
|
||||||
stmt.bindStringParameter(i, aTypes[i]);
|
stmt.bindByIndex(i, aTypes[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
stmt.executeAsync(new AsyncAddonListCallback(aCallback));
|
stmt.executeAsync(new AsyncAddonListCallback(aCallback));
|
||||||
@ -4633,7 +4633,7 @@ var XPIDatabase = {
|
|||||||
stmt = this.getStatement("getVisibleAddonsWithPendingOperations_" +
|
stmt = this.getStatement("getVisibleAddonsWithPendingOperations_" +
|
||||||
aTypes.length, sql);
|
aTypes.length, sql);
|
||||||
for (let i = 0; i < aTypes.length; i++)
|
for (let i = 0; i < aTypes.length; i++)
|
||||||
stmt.bindStringParameter(i, aTypes[i]);
|
stmt.bindByIndex(i, aTypes[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
stmt.executeAsync(new AsyncAddonListCallback(aCallback));
|
stmt.executeAsync(new AsyncAddonListCallback(aCallback));
|
||||||
|
Loading…
Reference in New Issue
Block a user