Bug 553927 - DocumentViewerImpl::PageHide shouldn't use NS_ERROR for a valid case, r=roc

This commit is contained in:
Olli Pettay 2010-03-22 00:06:12 +02:00
Родитель 3966e7530e
Коммит 436af94f0e
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -1274,7 +1274,7 @@ DocumentViewerImpl::PageHide(PRBool aIsUnload)
if (!window) {
// Fail if no window is available...
NS_ERROR("window not set for document!");
NS_WARNING("window not set for document!");
return NS_ERROR_NULL_POINTER;
}