Bug 766783: Remove unneeded member variable nsBulletFrame::mComputedSize. r=mats

This commit is contained in:
Daniel Holbert 2012-06-21 12:58:28 -07:00
parent 7e7a8fb1f1
commit b474eabdb9
2 changed files with 2 additions and 6 deletions

View File

@ -1277,11 +1277,8 @@ nsBulletFrame::GetDesiredSize(nsPresContext* aCX,
if (status & imgIRequest::STATUS_SIZE_AVAILABLE &&
!(status & imgIRequest::STATUS_ERROR)) {
// auto size the image
mComputedSize.width = mIntrinsicSize.width;
mComputedSize.height = mIntrinsicSize.height;
aMetrics.width = mComputedSize.width;
aMetrics.ascent = aMetrics.height = mComputedSize.height;
aMetrics.width = mIntrinsicSize.width;
aMetrics.ascent = aMetrics.height = mIntrinsicSize.height;
AddStateBits(BULLET_FRAME_IMAGE_LOADING);

View File

@ -130,7 +130,6 @@ protected:
nsRefPtr<nsBulletListener> mListener;
nsSize mIntrinsicSize;
nsSize mComputedSize;
PRInt32 mOrdinal;
bool mTextIsRTL;