Bug 1360241: Devirtualize nsIFrame::GetType. r=heycam
MozReview-Commit-ID: 5Nzhyta5Hle
This commit is contained in:
@@ -26,8 +26,9 @@ NS_NewHTMLButtonControlFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
|
||||
|
||||
NS_IMPL_FRAMEARENA_HELPERS(nsHTMLButtonControlFrame)
|
||||
|
||||
nsHTMLButtonControlFrame::nsHTMLButtonControlFrame(nsStyleContext* aContext)
|
||||
: nsContainerFrame(aContext)
|
||||
nsHTMLButtonControlFrame::nsHTMLButtonControlFrame(nsStyleContext* aContext,
|
||||
FrameType aType)
|
||||
: nsContainerFrame(aContext, aType)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -63,12 +64,6 @@ nsHTMLButtonControlFrame::AccessibleType()
|
||||
}
|
||||
#endif
|
||||
|
||||
nsIAtom*
|
||||
nsHTMLButtonControlFrame::GetType() const
|
||||
{
|
||||
return nsGkAtoms::HTMLButtonControlFrame;
|
||||
}
|
||||
|
||||
void
|
||||
nsHTMLButtonControlFrame::SetFocus(bool aOn, bool aRepaint)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user