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
parent 7f197e030a
commit 9de0b430f3

View File

@ -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