Back out bug 1323207, part 2 - Assert early if we're painting at various points we enter JS (a=backout)

This reverts commit cc6bc31c9f3fb10877292b31c1cf26927856a837.

MozReview-Commit-ID: Dljoh4lYVZ9
This commit is contained in:
Bill McCloskey
2017-01-06 12:58:58 -08:00
parent 3e17b86e18
commit 4ccd34d0b1
2 changed files with 0 additions and 5 deletions

View File

@@ -31,9 +31,6 @@ ScriptedNotificationObserver::Notify(imgIRequest* aRequest,
int32_t aType,
const nsIntRect* /*aUnused*/)
{
MOZ_RELEASE_ASSERT(js::AllowGCBarriers(CycleCollectedJSContext::Get()->Context()),
"sending image notification to JS observer during painting. See bug 1311841");
if (aType == imgINotificationObserver::SIZE_AVAILABLE) {
return mInner->SizeAvailable(aRequest);
}