mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
Keep view around so that it moves properly
This commit is contained in:
parent
5cae9cf967
commit
6259c3326f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user