Bug 423212 - ###!!! ASSERTION: EndUpdateBatch without a begin: 'mBatchInProgress' (r=mano, a=mconnor)

git-svn-id: svn://10.0.0.236/trunk@250811 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dietrich%mozilla.com 2008-04-25 23:40:48 +00:00
parent 5bdf383abc
commit 7b11cb5a6a
2 changed files with 1 additions and 3 deletions

View File

@ -814,8 +814,6 @@ nsNavBookmarks::AdjustIndices(PRInt64 aFolder,
buffer.AppendInt(aEndIndex);
}
nsBookmarksUpdateBatcher batch;
nsresult rv = DBConn()->ExecuteSimpleSQL(buffer);
NS_ENSURE_SUCCESS(rv, rv);

View File

@ -2880,7 +2880,7 @@ nsNavHistoryQueryResultNode::OnItemVisited(PRInt64 aItemId,
// for bookmark queries, "all bookmark" observer should get OnItemVisited
// but it is ignored.
if (mLiveUpdate != QUERYUPDATE_COMPLEX_WITH_BOOKMARKS)
NS_NOTREACHED("history observers should not get OnItemVisited, but should get OnVisit instead");
NS_WARNING("history observers should not get OnItemVisited, but should get OnVisit instead");
return NS_OK;
}