mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 446363: remove unused variable, r+sr=roc
This commit is contained in:
parent
51e965223e
commit
4fc8624895
@ -522,17 +522,9 @@ void nsScrollPortView::Scroll(nsView *aScrolledView, nsPoint aTwipsDelta, nsPoin
|
||||
{
|
||||
nsIWidget *scrollWidget = GetWidget();
|
||||
nsRegion updateRegion;
|
||||
PRBool canBitBlit = PR_TRUE;
|
||||
if (!scrollWidget) {
|
||||
canBitBlit = PR_FALSE;
|
||||
} else {
|
||||
PRUint32 scrolledViewFlags = aScrolledView->GetViewFlags();
|
||||
|
||||
if ((!(mScrollProperties & NS_SCROLL_PROPERTY_ALWAYS_BLIT) &&
|
||||
!mViewManager->CanScrollWithBitBlt(aScrolledView, aTwipsDelta, &updateRegion))) {
|
||||
canBitBlit = PR_FALSE;
|
||||
}
|
||||
}
|
||||
PRBool canBitBlit = scrollWidget &&
|
||||
((mScrollProperties & NS_SCROLL_PROPERTY_ALWAYS_BLIT) ||
|
||||
mViewManager->CanScrollWithBitBlt(aScrolledView, aTwipsDelta, &updateRegion));
|
||||
|
||||
if (canBitBlit) {
|
||||
// We're going to bit-blit. Let the viewmanager know so it can
|
||||
|
Loading…
Reference in New Issue
Block a user