Bug 761132 - Don't try to fetch display column on history items (r=margaret)

This commit is contained in:
Lucas Rocha 2012-06-04 11:07:04 -04:00
parent 214d4c043f
commit c5259c217f

View File

@ -481,7 +481,6 @@ public class AwesomeBarTabs extends TabHost {
byte[] favicon = cursor.getBlob(cursor.getColumnIndexOrThrow(URLColumns.FAVICON));
Integer bookmarkId = cursor.getInt(cursor.getColumnIndexOrThrow(Combined.BOOKMARK_ID));
Integer historyId = cursor.getInt(cursor.getColumnIndexOrThrow(Combined.HISTORY_ID));
Integer display = cursor.getInt(cursor.getColumnIndexOrThrow(Combined.DISPLAY));
// Use the URL instead of an empty title for consistency with the normal URL
// bar view - this is the equivalent of getDisplayTitle() in Tab.java