From 72a49fe0dc18cc47dab53271f5ef882d8d3ed745 Mon Sep 17 00:00:00 2001 From: Brian Nicholson Date: Fri, 16 Nov 2012 10:39:42 -0800 Subject: [PATCH] Bug 811445 - Part 1: Use history_with_favicons view for Add Search Engine. r=mfinkle --- mobile/android/chrome/content/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js index 338e9cd8a21..4c063d16a09 100644 --- a/mobile/android/chrome/content/browser.js +++ b/mobile/android/chrome/content/browser.js @@ -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) {