mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Backed out changeset 93a0acf68dd6
This commit is contained in:
parent
0c196ee106
commit
5b498daffc
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user