mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 766783: Remove unneeded member variable nsBulletFrame::mComputedSize. r=mats
This commit is contained in:
parent
7e7a8fb1f1
commit
b474eabdb9
@ -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);
|
||||
|
||||
|
@ -130,7 +130,6 @@ protected:
|
||||
nsRefPtr<nsBulletListener> mListener;
|
||||
|
||||
nsSize mIntrinsicSize;
|
||||
nsSize mComputedSize;
|
||||
PRInt32 mOrdinal;
|
||||
bool mTextIsRTL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user