Bug 1400421 part 1: Annotate class 'nsPageBreakFrame' as final, to reflect reality. r?mats
(This was the only concrete nsLeafBoxFrame subclass that was missing this
annotation. So, after this patch, all concrete nsLeafBoxFrame subclasses will
have this annotation. Nice!)
MozReview-Commit-ID: Iu1LaLTTqzu
--- a/layout/generic/nsPageFrame.h
+++ b/layout/generic/nsPageFrame.h
@@ -95,17 +95,17 @@ protected:
int32_t mPageNum;
int32_t mTotNumPages;
nsSharedPageData* mPD;
nsMargin mPageContentMargin;
};
-class nsPageBreakFrame : public nsLeafFrame
+class nsPageBreakFrame final : public nsLeafFrame
{
NS_DECL_FRAMEARENA_HELPERS(nsPageBreakFrame)
explicit nsPageBreakFrame(nsStyleContext* aContext);
~nsPageBreakFrame();
virtual void Reflow(nsPresContext* aPresContext,
ReflowOutput& aDesiredSize,