зеркало из https://github.com/mozilla/pjs.git
Bug 42686: Remove an assertion which was preventing dogfood use on Mac. r=jst@netscape.com (thanks!)
This commit is contained in:
Родитель
c1689c91a7
Коммит
b31bc7c547
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче