Bug 592596. When we thaw a presshell, unsuppress painting after we update our active status. r=bzbarsky a=roc

This commit is contained in:
Timothy Nikkel 2010-09-11 13:24:49 -05:00
parent 88c9936887
commit 6b9454db5b

View File

@ -7374,8 +7374,6 @@ PresShell::Thaw()
if (mDocument)
mDocument->EnumerateSubDocuments(ThawSubDocument, nsnull);
UnsuppressPainting();
// Get the activeness of our presshell, as this might have changed
// while we were in the bfcache
QueryIsActive();
@ -7383,6 +7381,8 @@ PresShell::Thaw()
// We're now unfrozen
mFrozen = PR_FALSE;
UpdateImageLockingState();
UnsuppressPainting();
}
//--------------------------------------------------------