зеркало из https://github.com/mozilla/pjs.git
[for joe@retrovirus.com] Bug 324743, r=brettw. Result roots are closed by default.
Original committer: brettw%gmail.com Original revision: 1.60 Original date: 2006/01/31 03:05:02
This commit is contained in:
Родитель
c5165b17c7
Коммит
ffe4069e2c
|
@ -1684,12 +1684,6 @@ nsNavHistory::ExecuteQueries(nsINavHistoryQuery** aQueries, PRUint32 aQueryCount
|
|||
getter_AddRefs(result));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
// Query result roots are open by default, but this needs to be done AFTER the result
|
||||
// has been constructed. This step will actually run the query/populate the bookmark
|
||||
// folder results.
|
||||
rv = rootNode->OpenContainer();
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
NS_ADDREF(*_retval = result);
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче