Ignore restyle requests once PresShell::Destroy() has been called. b=279505 r+sr=bzbarsky a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@243460 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
24256db755
commit
e855fa7e8e
@ -13273,6 +13273,11 @@ nsCSSFrameConstructor::PostRestyleEvent(nsIContent* aContent,
|
||||
nsReStyleHint aRestyleHint,
|
||||
nsChangeHint aMinChangeHint)
|
||||
{
|
||||
if (NS_UNLIKELY(mIsDestroyingFrameTree)) {
|
||||
NS_NOTREACHED("PostRestyleEvent after the shell is destroyed (bug 279505)");
|
||||
return;
|
||||
}
|
||||
|
||||
if (aRestyleHint == 0 && !aMinChangeHint) {
|
||||
// Nothing to do here
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user