Bug 1050412 part 1: Use nsFrameList::Enumerator in nsSimplePageSequenceFrame to iterate over child frames. r=tn
Bug 1050412 part 2: Assert about frame type before static_casting, and drop useless null-check. r=tn