Folder node should have mID = 0, not the folder id. Bug 318674.
This commit is contained in:
Родитель
c9c2daf727
Коммит
2925a31739
|
@ -938,7 +938,6 @@ nsNavBookmarks::ResultNodeForFolder(PRInt64 aID,
|
||||||
nsRefPtr<nsNavHistoryQueryNode> node = new nsNavHistoryQueryNode();
|
nsRefPtr<nsNavHistoryQueryNode> node = new nsNavHistoryQueryNode();
|
||||||
NS_ENSURE_TRUE(node, NS_ERROR_OUT_OF_MEMORY);
|
NS_ENSURE_TRUE(node, NS_ERROR_OUT_OF_MEMORY);
|
||||||
|
|
||||||
node->mID = aID;
|
|
||||||
node->mTitle = title;
|
node->mTitle = title;
|
||||||
node->mType = nsINavHistoryResultNode::RESULT_TYPE_QUERY;
|
node->mType = nsINavHistoryResultNode::RESULT_TYPE_QUERY;
|
||||||
node->mQueries = NS_STATIC_CAST(nsINavHistoryQuery**,
|
node->mQueries = NS_STATIC_CAST(nsINavHistoryQuery**,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче