Bug 1264837 Part 38 - Remove nsSVGSwitchFrameBase. r=dholbert

MozReview-Commit-ID: K7LxDjF7XHY

--HG--
extra : rebase_source : 7ea2e05ab0b8ac77c6e2d5a2b28745cf2047e06d
This commit is contained in:
Ting-Yu Lin 2016-04-18 15:43:07 +08:00
Родитель e5872bf0fb
Коммит f1b3bc79b9
1 изменённых файлов: 4 добавлений и 6 удалений

Просмотреть файл

@ -12,15 +12,13 @@
using namespace mozilla::gfx;
typedef nsSVGGFrame nsSVGSwitchFrameBase;
class nsSVGSwitchFrame : public nsSVGSwitchFrameBase
class nsSVGSwitchFrame : public nsSVGGFrame
{
friend nsIFrame*
NS_NewSVGSwitchFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
protected:
explicit nsSVGSwitchFrame(nsStyleContext* aContext) :
nsSVGSwitchFrameBase(aContext) {}
explicit nsSVGSwitchFrame(nsStyleContext* aContext)
: nsSVGGFrame(aContext) {}
public:
NS_DECL_FRAMEARENA_HELPERS
@ -83,7 +81,7 @@ nsSVGSwitchFrame::Init(nsIContent* aContent,
NS_ASSERTION(aContent->IsSVGElement(nsGkAtoms::svgSwitch),
"Content is not an SVG switch");
nsSVGSwitchFrameBase::Init(aContent, aParent, aPrevInFlow);
nsSVGGFrame::Init(aContent, aParent, aPrevInFlow);
}
#endif /* DEBUG */