diff --git a/camino/src/history/HistoryDataSource.mm b/camino/src/history/HistoryDataSource.mm index 4879cd36bca..3c5e78e1d54 100644 --- a/camino/src/history/HistoryDataSource.mm +++ b/camino/src/history/HistoryDataSource.mm @@ -836,7 +836,8 @@ NS_IMPL_ISUPPORTS1(nsHistoryObserver, nsIHistoryObserver); historyEnumerator->GetNext(getter_AddRefs(thisEntry)); nsCOMPtr thisItem = do_QueryInterface(thisEntry); - if (thisItem) + PRBool hidden; + if (thisItem && NS_SUCCEEDED(thisItem->GetHidden(&hidden)) && !hidden) { HistorySiteItem* item = [[HistorySiteItem alloc] initWithDataSource:self historyItem:thisItem]; [mHistoryItems addObject:item];