Backing out part of bug 495728 to fix Windows test build bustage

This commit is contained in:
Boris Zbarsky 2009-06-11 15:08:33 -04:00
parent 6a5e3154e7
commit 72176d8e67

View File

@ -69,7 +69,6 @@
#include "nsTArray.h"
#include "nsAutoPtr.h"
#include "nsThreadUtils.h"
#include "nsContentUtils.h"
class nsImageLoader;
#ifdef IBMBIDI
@ -1089,8 +1088,6 @@ struct nsAutoLayoutPhase {
// Once bug 337957 is fixed this should become an NS_ASSERTION
NS_WARN_IF_FALSE(mPresContext->mLayoutPhaseCount[eLayoutPhase_FrameC] == 0,
"recurring into frame construction");
NS_ASSERTION(!nsContentUtils::IsSafeToRunScript(),
"constructing frames and scripts are not blocked");
break;
default:
break;