Change common NS_ASSERTION (bug 404693) to NS_WARN_IF_FALSE so we can make progress on making assertions be reftest failures (bug 472557). r=bzbarsky

This commit is contained in:
L. David Baron 2009-12-12 13:47:37 -08:00
Родитель 0df9e7aa44
Коммит 186679f245
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -836,8 +836,8 @@ nsSHistory::EvictWindowContentViewers(PRInt32 aFromIndex, PRInt32 aToIndex)
nsCOMPtr<nsISHEntry> ownerEntry;
entry->GetAnyContentViewer(getter_AddRefs(ownerEntry),
getter_AddRefs(viewer));
NS_ASSERTION(!viewer,
"ContentViewer exists outside gHistoryMaxViewer range");
NS_WARN_IF_FALSE(!viewer,
"ContentViewer exists outside gHistoryMaxViewer range");
}
nsISHTransaction *temp = trans;