зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1264837 Part 33 - Remove nsSVGOuterSVGAnonChildFrameBase. r=dholbert
MozReview-Commit-ID: 4hnGGYnAjDh --HG-- extra : rebase_source : d40a06b4d23d4aa1a5a3314cafc54e3f93712311
This commit is contained in:
Родитель
58668ec6f6
Коммит
1f0bced733
|
@ -955,7 +955,7 @@ nsSVGOuterSVGAnonChildFrame::Init(nsIContent* aContent,
|
|||
{
|
||||
MOZ_ASSERT(aParent->GetType() == nsGkAtoms::svgOuterSVGFrame,
|
||||
"Unexpected parent");
|
||||
nsSVGOuterSVGAnonChildFrameBase::Init(aContent, aParent, aPrevInFlow);
|
||||
nsSVGDisplayContainerFrame::Init(aContent, aParent, aPrevInFlow);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -207,8 +207,6 @@ protected:
|
|||
////////////////////////////////////////////////////////////////////////
|
||||
// nsSVGOuterSVGAnonChildFrame class
|
||||
|
||||
typedef nsSVGDisplayContainerFrame nsSVGOuterSVGAnonChildFrameBase;
|
||||
|
||||
/**
|
||||
* nsSVGOuterSVGFrames have a single direct child that is an instance of this
|
||||
* class, and which is used to wrap their real child frames. Such anonymous
|
||||
|
@ -232,15 +230,14 @@ typedef nsSVGDisplayContainerFrame nsSVGOuterSVGAnonChildFrameBase;
|
|||
* example, the implementations of IsSVGTransformed and GetCanvasTM assume
|
||||
* nsSVGContainerFrame instances all the way up to the nsSVGOuterSVGFrame.
|
||||
*/
|
||||
class nsSVGOuterSVGAnonChildFrame
|
||||
: public nsSVGOuterSVGAnonChildFrameBase
|
||||
class nsSVGOuterSVGAnonChildFrame : public nsSVGDisplayContainerFrame
|
||||
{
|
||||
friend nsContainerFrame*
|
||||
NS_NewSVGOuterSVGAnonChildFrame(nsIPresShell* aPresShell,
|
||||
nsStyleContext* aContext);
|
||||
|
||||
explicit nsSVGOuterSVGAnonChildFrame(nsStyleContext* aContext)
|
||||
: nsSVGOuterSVGAnonChildFrameBase(aContext)
|
||||
: nsSVGDisplayContainerFrame(aContext)
|
||||
{}
|
||||
|
||||
public:
|
||||
|
|
Загрузка…
Ссылка в новой задаче