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:
parent
5bdf383abc
commit
7b11cb5a6a
@ -814,8 +814,6 @@ nsNavBookmarks::AdjustIndices(PRInt64 aFolder,
|
||||
buffer.AppendInt(aEndIndex);
|
||||
}
|
||||
|
||||
nsBookmarksUpdateBatcher batch;
|
||||
|
||||
nsresult rv = DBConn()->ExecuteSimpleSQL(buffer);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user