mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1264837 Part 38 - Remove nsSVGSwitchFrameBase. r=dholbert
MozReview-Commit-ID: K7LxDjF7XHY --HG-- extra : rebase_source : 7ea2e05ab0b8ac77c6e2d5a2b28745cf2047e06d
This commit is contained in:
parent
e5872bf0fb
commit
f1b3bc79b9
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user