Bug 42686: Remove an assertion which was preventing dogfood use on Mac. r=jst@netscape.com (thanks!)

This commit is contained in:
pollmann%netscape.com 2000-07-20 06:02:41 +00:00
parent 350eea5535
commit 1c841a3606

View File

@ -249,7 +249,11 @@ NS_IMETHODIMP nsScrollPortView::ScrollTo(nscoord aX, nscoord aY, PRUint32 aUpdat
// make sure the new position in in bounds
GetScrolledView(scrolledView);
#ifdef DEBUG_pollmann
NS_ASSERTION(scrolledView, "no scrolled view");
#endif
if (!scrolledView) return NS_ERROR_FAILURE;
scrolledView->GetDimensions(&scrolledSize.width, &scrolledSize.height);