mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 811445 - Part 1: Use history_with_favicons view for Add Search Engine. r=mfinkle
This commit is contained in:
parent
aa13f3b2ad
commit
72a49fe0dc
@ -6547,7 +6547,7 @@ var SearchEngines = {
|
||||
let dbFile = FileUtils.getFile("ProfD", ["browser.db"]);
|
||||
let mDBConn = Services.storage.openDatabase(dbFile);
|
||||
let stmts = [];
|
||||
stmts[0] = mDBConn.createStatement("SELECT favicon FROM images WHERE url_key = ?");
|
||||
stmts[0] = mDBConn.createStatement("SELECT favicon FROM history_with_favicons WHERE url = ?");
|
||||
stmts[0].bindStringParameter(0, docURI.spec);
|
||||
let favicon = null;
|
||||
Services.search.init(function addEngine_cb(rv) {
|
||||
|
Loading…
Reference in New Issue
Block a user