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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user