Bug 620416 - hopefully useless null check of aCol in nsTreeBodyFrame::GetCellAt

r=enn a=dbaron
This commit is contained in:
timeless@mozdev.org 2011-02-16 14:14:20 +01:00
parent 1278fea739
commit 987ebea9dd

View File

@ -1670,8 +1670,7 @@ nsTreeBodyFrame::GetCellAt(nscoord aX, nscoord aY, PRInt32* aRow,
if (aX >= cellRect.x && aX < cellRect.x + cellRect.width) {
// We know the column hit now.
if (aCol)
*aCol = currCol;
*aCol = currCol;
if (currCol->IsCycler())
// Cyclers contain only images. Fill this in immediately and return.