From 6cd43df135924dfbda8f5670d762bb83cdde2b46 Mon Sep 17 00:00:00 2001 From: Ting-Yu Lin Date: Mon, 18 Apr 2016 15:11:10 +0800 Subject: [PATCH] Bug 1264837 Part 22 - Remove nsSVGGenericContainerFrameBase. r=dholbert MozReview-Commit-ID: A3Mct3IxlJW --HG-- extra : rebase_source : b9089ea6789e67fbf7dc6cc1a05490c3af668123 --- layout/svg/nsSVGGenericContainerFrame.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/layout/svg/nsSVGGenericContainerFrame.h b/layout/svg/nsSVGGenericContainerFrame.h index 0285df53ea37..eff7375baf07 100644 --- a/layout/svg/nsSVGGenericContainerFrame.h +++ b/layout/svg/nsSVGGenericContainerFrame.h @@ -18,15 +18,15 @@ class nsIFrame; class nsIPresShell; class nsStyleContext; -typedef nsSVGDisplayContainerFrame nsSVGGenericContainerFrameBase; - -class nsSVGGenericContainerFrame : public nsSVGGenericContainerFrameBase +class nsSVGGenericContainerFrame : public nsSVGDisplayContainerFrame { friend nsIFrame* NS_NewSVGGenericContainerFrame(nsIPresShell* aPresShell, nsStyleContext* aContext); + protected: - explicit nsSVGGenericContainerFrame(nsStyleContext* aContext) : nsSVGGenericContainerFrameBase(aContext) {} - + explicit nsSVGGenericContainerFrame(nsStyleContext* aContext) + : nsSVGDisplayContainerFrame(aContext) {} + public: NS_DECL_FRAMEARENA_HELPERS