fixed troys' bug with scrolling frames. was actually not related to that, just

tickled a bug in the new compositor code.


git-svn-id: svn://10.0.0.236/trunk@12734 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
michaelp%netscape.com
1998-10-13 21:27:11 +00:00
parent 029abfce97
commit 75b9d4a08c
2 changed files with 5 additions and 4 deletions

View File

@@ -262,9 +262,9 @@ NS_IMETHODIMP nsViewManager :: SetWindowOffsets(nscoord xoffset, nscoord yoffset
nsresult retval;
retval = mRootView->QueryInterface(kIScrollableViewIID, (void **)&scroller);
if (NS_SUCCEEDED(retval)) {
if (NS_SUCCEEDED(retval))
scroller->SetVisibleOffset(xoffset, yoffset);
}
return retval;
}