mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
added check so it doesn't do a reset on the incremental reflow
r=dcone bug=none
This commit is contained in:
parent
c56fe2a751
commit
8dd52cec3d
@ -314,7 +314,7 @@ nsListControlFrame::Reflow(nsIPresContext* aPresContext,
|
||||
|
||||
// If all the content and frames are here
|
||||
// then initialize it before reflow
|
||||
if (mIsAllContentHere && !mHasBeenInitialized) {
|
||||
if ((mIsAllContentHere && !mHasBeenInitialized) && aReflowState.reason != eReflowReason_Initial) {
|
||||
if (PR_FALSE == mIsAllFramesHere) {
|
||||
CheckIfAllFramesHere();
|
||||
}
|
||||
|
@ -314,7 +314,7 @@ nsListControlFrame::Reflow(nsIPresContext* aPresContext,
|
||||
|
||||
// If all the content and frames are here
|
||||
// then initialize it before reflow
|
||||
if (mIsAllContentHere && !mHasBeenInitialized) {
|
||||
if ((mIsAllContentHere && !mHasBeenInitialized) && aReflowState.reason != eReflowReason_Initial) {
|
||||
if (PR_FALSE == mIsAllFramesHere) {
|
||||
CheckIfAllFramesHere();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user