Bug 967758. Disable newly added assert because it is triggering too much. r=roc on a CLOSED TREE

This commit is contained in:
Timothy Nikkel 2014-02-04 19:04:50 -06:00
Родитель 6df14803db
Коммит b9030265fa
2 изменённых файлов: 4 добавлений и 2 удалений

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

@ -2362,7 +2362,8 @@ nsPresContext::NotifyInvalidation(const nsIntRect& aRect, uint32_t aFlags)
void
nsPresContext::NotifyInvalidation(const nsRect& aRect, uint32_t aFlags)
{
MOZ_ASSERT(GetContainerWeak(), "Invalidation in detached pres context");
// Disabled temporarily for happening too frequently. (bug 967758)
//MOZ_ASSERT(GetContainerWeak(), "Invalidation in detached pres context");
// If there is no paint event listener, then we don't need to fire
// the asynchronous event. We don't even need to record invalidation.

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

@ -4896,7 +4896,8 @@ nsIFrame::SchedulePaint(PaintType aType)
return;
}
MOZ_ASSERT(pres->GetContainerWeak(), "SchedulePaint in a detached pres context");
// Disabled temporarily for happening too frequently. (bug 967758)
//MOZ_ASSERT(pres->GetContainerWeak(), "SchedulePaint in a detached pres context");
pres->PresShell()->ScheduleViewManagerFlush(aType == PAINT_DELAYED_COMPRESS ?
nsIPresShell::PAINT_DELAYED_COMPRESS :
nsIPresShell::PAINT_DEFAULT);