Bug 1364805 part 2 - Add a nsIFrame::mClass field and propagate the concrete class' value up the ctor chain. r=jfkthame
nsIFrame::mClass is of type enum class nsQueryFrame::ClassID which is a strict subset of the nsQueryFrame::FrameIID values. For a concrete frame class, its FrameIID is the same numeric value as its ClassID. MozReview-Commit-ID: 1N0AkCGo1ol
This commit is contained in:
@@ -39,7 +39,7 @@ NS_NewFileControlFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
|
||||
NS_IMPL_FRAMEARENA_HELPERS(nsFileControlFrame)
|
||||
|
||||
nsFileControlFrame::nsFileControlFrame(nsStyleContext* aContext)
|
||||
: nsBlockFrame(aContext)
|
||||
: nsBlockFrame(aContext, kClassID)
|
||||
{
|
||||
AddStateBits(NS_BLOCK_FLOAT_MGR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user