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:
parent
138f358db6
commit
9f3c489fc2
@ -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);
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user