From 5b498daffc807991f854f3464bb666438fe74319 Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Thu, 19 Nov 2009 15:15:44 +1300 Subject: [PATCH] Backed out changeset 93a0acf68dd6 --- layout/base/nsDocumentViewer.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/layout/base/nsDocumentViewer.cpp b/layout/base/nsDocumentViewer.cpp index 24e2512f0fe6..ba9a4994322b 100644 --- a/layout/base/nsDocumentViewer.cpp +++ b/layout/base/nsDocumentViewer.cpp @@ -839,11 +839,6 @@ DocumentViewerImpl::InitInternal(nsIWidget* aParentWidget, PRBool aInPrintPreview, PRBool aNeedMakeCX /*= PR_TRUE*/) { - // We don't want any scripts to run here. That can cause flushing, - // which can cause reentry into initialization of this document viewer, - // which would be disastrous. - nsAutoScriptBlocker blockScripts; - mParentWidget = aParentWidget; // not ref counted mBounds = aBounds;