Bug 425265, r=roc, sr=bz
This commit is contained in:
@@ -12330,7 +12330,8 @@ nsCSSFrameConstructor::RebuildAllStyleData(nsChangeHint aExtraHint)
|
||||
NS_UpdateHint(aExtraHint, mRebuildAllExtraHint);
|
||||
mRebuildAllExtraHint = nsChangeHint(0);
|
||||
|
||||
if (!mPresShell || !mPresShell->GetRootFrame())
|
||||
if (!mPresShell || !mPresShell->GetRootFrame() ||
|
||||
!mPresShell->GetPresContext()->IsDynamic())
|
||||
return;
|
||||
|
||||
nsAutoScriptBlocker scriptBlocker;
|
||||
|
||||
Reference in New Issue
Block a user