mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Commented out some code in Init() that was causing problems for the scrolling
view code
This commit is contained in:
parent
0a6d0170bf
commit
f97e864dbf
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user