зеркало из https://github.com/mozilla/pjs.git
Bug 620416 - hopefully useless null check of aCol in nsTreeBodyFrame::GetCellAt
r=enn a=dbaron
This commit is contained in:
Родитель
3e92445b81
Коммит
2c4d2e40d4
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче