Bug 365742, crash with drawing empty images in trees, r+sr=neil
git-svn-id: svn://10.0.0.236/trunk@217992 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -3156,6 +3156,8 @@ nsTreeBodyFrame::PaintImage(PRInt32 aRowIndex,
|
||||
|
||||
// Get the image destination size.
|
||||
nsSize imageDestSize = GetImageDestSize(imageContext, useImageRegion, image);
|
||||
if (!imageDestSize.width || !imageDestSize.height)
|
||||
return;
|
||||
|
||||
// Get the borders and padding.
|
||||
nsMargin bp(0,0,0,0);
|
||||
|
||||
Reference in New Issue
Block a user