From 74701acb121e5dde4951fbf531c8d83086c5af1d Mon Sep 17 00:00:00 2001 From: "troy%netscape.com" Date: Tue, 27 Oct 1998 05:57:18 +0000 Subject: [PATCH] Commented out some code in Init() that was causing problems for the scrolling view code git-svn-id: svn://10.0.0.236/trunk@13550 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/view/src/nsView.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mozilla/view/src/nsView.cpp b/mozilla/view/src/nsView.cpp index ce8a07bd5fd..362e4771770 100644 --- a/mozilla/view/src/nsView.cpp +++ b/mozilla/view/src/nsView.cpp @@ -255,8 +255,13 @@ NS_IMETHODIMP nsView :: Init(nsIViewManager* aManager, SetVisibility(aVisibilityFlag); + // XXX Don't clear this or we hork the scrolling view when creating the clip + // view's widget. It needs to stay set and later the view manager will reset it + // when the view is inserted into the view hierarchy... +#if 0 //clear this again... SetParent(nsnull); +#endif return NS_OK; }