Fix for 135764 - mozilla crashes in DOM Inspector - Trunk [@ nsTreeBodyFrame::SetBounds]
r=bryner, sr=ben git-svn-id: svn://10.0.0.236/trunk@119605 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
ce5a8fbe08
commit
7ce1dc8280
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user