mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backout bug 528493 on suspicion of causing regression
This commit is contained in:
commit
aeaad3b245
@ -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