Checkin in part of the fix for nsbeta3+ bug 42321. Avoid running JS_GC() many times per window open/close, once should be enough. Patch mostly done by alex@cendio.se, r=jst@netscape.com & vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79088 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2683,9 +2683,6 @@ NS_IMETHODIMP nsDocShell::SetupNewViewer(nsIContentViewer* aNewViewer)
|
||||
if (commandDispatcher)
|
||||
commandDispatcher->SetSuppressFocus(PR_FALSE);
|
||||
|
||||
if(mScriptContext)
|
||||
mScriptContext->GC();
|
||||
|
||||
mContentViewer = aNewViewer;
|
||||
|
||||
nsCOMPtr<nsIWidget> widget;
|
||||
|
||||
Reference in New Issue
Block a user