Fix for bug 135764 - mozilla crashes in DOM Inspector - Trunk [@ nsTreeBodyFrame::SetBounds]
r=bryner, sr=ben, a=scc git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119744 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -585,7 +585,7 @@ nsTreeBodyFrame::SetBounds(nsBoxLayoutState& aBoxLayoutState, const nsRect& aRec
|
||||
PRBool recompute = (aRect != mRect);
|
||||
nsresult rv = nsLeafBoxFrame::SetBounds(aBoxLayoutState, aRect);
|
||||
|
||||
if (recompute) {
|
||||
if (mView && recompute) {
|
||||
mInnerBox = GetInnerBox();
|
||||
if (!mHasFixedRowCount)
|
||||
mPageCount = mInnerBox.height / mRowHeight;
|
||||
|
||||
Reference in New Issue
Block a user