mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 829927 - Don't read favicon URL if it's null. r=mfinkle
This commit is contained in:
parent
fdcddcba33
commit
458a3e799d
@ -1563,10 +1563,11 @@ public class BrowserProvider extends ContentProvider {
|
||||
null, null, null, null);
|
||||
|
||||
while (c.moveToNext()) {
|
||||
String faviconUrl = c.getString(c.getColumnIndexOrThrow(Obsolete.Images.FAVICON_URL));
|
||||
long faviconId = -1;
|
||||
|
||||
if (faviconUrl != null) {
|
||||
int faviconUrlIndex = c.getColumnIndexOrThrow(Obsolete.Images.FAVICON_URL);
|
||||
String faviconUrl = null;
|
||||
if (!c.isNull(faviconUrlIndex)) {
|
||||
faviconUrl = c.getString(faviconUrlIndex);
|
||||
Cursor c2 = null;
|
||||
try {
|
||||
c2 = db.query(TABLE_FAVICONS,
|
||||
|
Loading…
Reference in New Issue
Block a user