Bug 1264837 Part 23 - Remove nsSVGGFrameBase. r=dholbert

MozReview-Commit-ID: 1QzQaR9tUIZ

--HG--
extra : rebase_source : 91d35cd35d0586f100e32dd6cd278df824f17515
This commit is contained in:
Ting-Yu Lin 2016-04-18 15:08:01 +08:00
Родитель 6cd43df135
Коммит e8c169c7ba
2 изменённых файлов: 7 добавлений и 9 удалений

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

@ -21,7 +21,7 @@ using namespace mozilla::dom;
nsIFrame*
NS_NewSVGGFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
{
{
return new (aPresShell) nsSVGGFrame(aContext);
}
@ -37,7 +37,7 @@ nsSVGGFrame::Init(nsIContent* aContent,
static_cast<nsSVGElement*>(aContent)->IsTransformable(),
"The element doesn't support nsIDOMSVGTransformable");
nsSVGGFrameBase::Init(aContent, aParent, aPrevInFlow);
nsSVGDisplayContainerFrame::Init(aContent, aParent, aPrevInFlow);
}
#endif /* DEBUG */
@ -61,7 +61,7 @@ nsSVGGFrame::NotifySVGChanged(uint32_t aFlags)
mCanvasTM = nullptr;
}
nsSVGGFrameBase::NotifySVGChanged(aFlags);
nsSVGDisplayContainerFrame::NotifySVGChanged(aFlags);
}
gfxMatrix
@ -93,6 +93,6 @@ nsSVGGFrame::AttributeChanged(int32_t aNameSpaceID,
// and cause DoApplyRenderingChangeToTree to make the SchedulePaint call.
NotifySVGChanged(TRANSFORM_CHANGED);
}
return NS_OK;
}

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

@ -10,15 +10,13 @@
#include "gfxMatrix.h"
#include "nsSVGContainerFrame.h"
typedef nsSVGDisplayContainerFrame nsSVGGFrameBase;
class nsSVGGFrame : public nsSVGGFrameBase
class nsSVGGFrame : public nsSVGDisplayContainerFrame
{
friend nsIFrame*
NS_NewSVGGFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
protected:
explicit nsSVGGFrame(nsStyleContext* aContext) :
nsSVGGFrameBase(aContext) {}
explicit nsSVGGFrame(nsStyleContext* aContext)
: nsSVGDisplayContainerFrame(aContext) {}
public:
NS_DECL_FRAMEARENA_HELPERS