Keep view around so that it moves properly

This commit is contained in:
kipp 1998-07-01 00:54:54 +00:00
parent 5cae9cf967
commit 6259c3326f

View File

@ -310,6 +310,7 @@ void nsHTMLIFrameFrame::CreateWebWidget(nsSize aSize, nsString& aURL)
result = view->Init(viewMan, viewBounds, parView, &kCChildCID);
viewMan->InsertChild(parView, view, 0);
NS_RELEASE(viewMan);
SetView(view);
NS_RELEASE(parView);
// init the web widget