зеркало из https://github.com/mozilla/pjs.git
Button marks itself dirty when the suggested size is set.
b 28593, r=kmcclusk,buster
This commit is contained in:
Родитель
f3c7af4bfe
Коммит
44c2fbb4c0
|
@ -612,6 +612,7 @@ nsGfxButtonControlFrame::SetSuggestedSize(nscoord aWidth, nscoord aHeight)
|
|||
{
|
||||
mSuggestedWidth = aWidth;
|
||||
mSuggestedHeight = aHeight;
|
||||
mState |= NS_FRAME_IS_DIRTY;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
|
@ -612,6 +612,7 @@ nsGfxButtonControlFrame::SetSuggestedSize(nscoord aWidth, nscoord aHeight)
|
|||
{
|
||||
mSuggestedWidth = aWidth;
|
||||
mSuggestedHeight = aHeight;
|
||||
mState |= NS_FRAME_IS_DIRTY;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче