Bug 1264837 Part 18 - Remove nsSVGClipPathFrameBase. r=dholbert

MozReview-Commit-ID: It4pCnQtjDi

--HG--
extra : rebase_source : 3828cf4e22915920c50c5377303cc641dc5e0347
This commit is contained in:
Ting-Yu Lin 2016-04-18 14:54:51 +08:00
Родитель 44aeebed7b
Коммит 083eac991f
2 изменённых файлов: 5 добавлений и 7 удалений

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

@ -418,8 +418,8 @@ nsSVGClipPathFrame::AttributeChanged(int32_t aNameSpaceID,
}
}
return nsSVGClipPathFrameBase::AttributeChanged(aNameSpaceID,
aAttribute, aModType);
return nsSVGContainerFrame::AttributeChanged(aNameSpaceID,
aAttribute, aModType);
}
void
@ -431,7 +431,7 @@ nsSVGClipPathFrame::Init(nsIContent* aContent,
"Content is not an SVG clipPath!");
AddStateBits(NS_STATE_SVG_CLIPPATH_CHILD);
nsSVGClipPathFrameBase::Init(aContent, aParent, aPrevInFlow);
nsSVGContainerFrame::Init(aContent, aParent, aPrevInFlow);
}
nsIAtom *

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

@ -15,9 +15,7 @@
class gfxContext;
class nsISVGChildFrame;
typedef nsSVGContainerFrame nsSVGClipPathFrameBase;
class nsSVGClipPathFrame : public nsSVGClipPathFrameBase
class nsSVGClipPathFrame : public nsSVGContainerFrame
{
friend nsIFrame*
NS_NewSVGClipPathFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
@ -27,7 +25,7 @@ class nsSVGClipPathFrame : public nsSVGClipPathFrameBase
protected:
explicit nsSVGClipPathFrame(nsStyleContext* aContext)
: nsSVGClipPathFrameBase(aContext)
: nsSVGContainerFrame(aContext)
, mReferencing(mozilla::AutoReferenceLimiter::notReferencing)
{
AddStateBits(NS_FRAME_IS_NONDISPLAY);