Bug 1264837 Part 30 - Remove nsSVGMarkerAnonChildFrameBase. r=dholbert

MozReview-Commit-ID: C9G8KoYAna3

--HG--
extra : rebase_source : 87df6e46ff6a26fcdcabaab24dfd6a8c0b044690
This commit is contained in:
Ting-Yu Lin 2016-04-18 15:28:03 +08:00
parent 836528eeac
commit 9ef3b285a4
2 changed files with 3 additions and 8 deletions

View File

@ -267,7 +267,7 @@ nsSVGMarkerAnonChildFrame::Init(nsIContent* aContent,
{
MOZ_ASSERT(aParent->GetType() == nsGkAtoms::svgMarkerFrame,
"Unexpected parent");
nsSVGMarkerAnonChildFrameBase::Init(aContent, aParent, aPrevInFlow);
nsSVGDisplayContainerFrame::Init(aContent, aParent, aPrevInFlow);
}
#endif

View File

@ -133,19 +133,14 @@ private:
////////////////////////////////////////////////////////////////////////
// nsMarkerAnonChildFrame class
typedef nsSVGDisplayContainerFrame nsSVGMarkerAnonChildFrameBase;
/**
*/
class nsSVGMarkerAnonChildFrame
: public nsSVGMarkerAnonChildFrameBase
class nsSVGMarkerAnonChildFrame : public nsSVGDisplayContainerFrame
{
friend nsContainerFrame*
NS_NewSVGMarkerAnonChildFrame(nsIPresShell* aPresShell,
nsStyleContext* aContext);
explicit nsSVGMarkerAnonChildFrame(nsStyleContext* aContext)
: nsSVGMarkerAnonChildFrameBase(aContext)
: nsSVGDisplayContainerFrame(aContext)
{}
public: