Bug 317829, r=beng. Support annotation-based queries.

Original committer: brettw%gmail.com
Original revision: 1.33
Original date: 2006/01/25 01:36:46
This commit is contained in:
benjamin%smedbergs.us 2006-07-18 18:20:07 +00:00
Родитель 01f528ce2f
Коммит 9eecb5e165
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -1336,7 +1336,10 @@ nsNavHistoryQueryResultNode::VerifyQueriesParsed()
getter_AddRefs(options));
NS_ENSURE_SUCCESS(rv, rv);
mOptions = do_QueryInterface(options, &rv); // need concrete pointer
NS_ENSURE_SUCCESS(rv, rv);
if (NS_FAILED(rv)) {
nsMemory::Free(queries);
return rv;
}
// Copy the individual queries into our array. At the same time, note if
// we have any bookmark components so we know whether to pay attention to