Bug 30317: Crash fix for scrolling=no, background-attachment: fixed pages r=evaughan, a=rickg
git-svn-id: svn://10.0.0.236/trunk@62458 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2023,8 +2023,10 @@ PRInt16 borderRadii[4],i;
|
||||
scrollFrame = GetNearestScrollFrame(aForFrame);
|
||||
|
||||
// Get the viewport size
|
||||
clipView = GetClipView(aPresContext, scrollFrame);
|
||||
clipView->GetDimensions(&viewportArea.width, &viewportArea.height);
|
||||
if (scrollFrame) { // XXX This is a band-aid crash fix, see bug 30317.
|
||||
clipView = GetClipView(aPresContext, scrollFrame);
|
||||
clipView->GetDimensions(&viewportArea.width, &viewportArea.height);
|
||||
}
|
||||
}
|
||||
|
||||
// Compute the anchor point. If it's a fixed background attachment, then
|
||||
|
||||
Reference in New Issue
Block a user