Bug 322378 r=bryner Fixed crash while pasting bookmarks.

git-svn-id: svn://10.0.0.236/trunk@186929 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brettw%gmail.com 2006-01-04 19:12:32 +00:00
parent 138f358db6
commit 9f3c489fc2
2 changed files with 2 additions and 1 deletions

View File

@ -2657,6 +2657,7 @@ nsNavHistory::RowToResult(mozIStorageValueArray* aRow,
nsNavHistoryResultNode** aResult)
{
*aResult = nsnull;
NS_ASSERTION(aRow && aOptions && aResult, "Null pointer in RowToResult");
nsCAutoString spec;
nsresult rv = aRow->GetUTF8String(kGetInfoIndex_URL, spec);

View File

@ -600,7 +600,7 @@ nsNavHistoryQueryNode::CreateNode(nsIURI *aBookmark,
NS_ENSURE_SUCCESS(rv, rv);
NS_ASSERTION(results, "item must be in history!");
return history->RowToResult(statement, PR_FALSE, aNode);
return history->RowToResult(statement, mOptions, aNode);
}
PRBool