Backing out Peter's changes since it cause the SunOS compiler to go off the deep end. Not apparent why the change should matter, actually, so this is just paranoias.

This commit is contained in:
attinasi%netscape.com 2001-04-19 19:38:27 +00:00
parent 6c230534e2
commit fbd0d01d83

View File

@ -3045,7 +3045,7 @@ NS_IMETHODIMP nsDocShell::SetupNewViewer(nsIContentViewer* aNewViewer)
#endif // IBMBIDI
// XXX: It looks like the LayoutState gets restored again in Embed()
// right after the call to SetupNewViewer(...)
SetTitle(nsnull); // clear window title
mContentViewer->Show();
// Now that we have switched documents, forget all of our children