Bug 319786 - backout unrelated changes

This commit is contained in:
longsonr%gmail.com 2006-09-28 08:20:39 +00:00
Родитель 27faef4977
Коммит 5a81f80c0e
7 изменённых файлов: 2 добавлений и 23 удалений

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

@ -86,12 +86,6 @@ nsSVGForeignObjectFrame::nsSVGForeignObjectFrame(nsStyleContext* aContext)
{ {
} }
void nsSVGForeignObjectFrame::Destroy()
{
nsSVGUtils::StyleEffects(this);
nsSVGForeignObjectFrameBase::Destroy();
}
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// nsISupports methods // nsISupports methods

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

@ -60,7 +60,6 @@ class nsSVGForeignObjectFrame : public nsSVGForeignObjectFrameBase,
NS_NewSVGForeignObjectFrame(nsIPresShell* aPresShell, nsIContent* aContent, nsStyleContext* aContext); NS_NewSVGForeignObjectFrame(nsIPresShell* aPresShell, nsIContent* aContent, nsStyleContext* aContext);
protected: protected:
nsSVGForeignObjectFrame(nsStyleContext* aContext); nsSVGForeignObjectFrame(nsStyleContext* aContext);
virtual void Destroy();
// nsISupports interface: // nsISupports interface:
NS_IMETHOD QueryInterface(const nsIID& aIID, void** aInstancePtr); NS_IMETHOD QueryInterface(const nsIID& aIID, void** aInstancePtr);

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

@ -72,12 +72,6 @@ NS_NewSVGGFrame(nsIPresShell* aPresShell, nsIContent* aContent, nsStyleContext*
return new (aPresShell) nsSVGGFrame(aContext); return new (aPresShell) nsSVGGFrame(aContext);
} }
void nsSVGGFrame::Destroy()
{
nsSVGUtils::StyleEffects(this);
nsSVGGFrameBase::Destroy();
}
nsIAtom * nsIAtom *
nsSVGGFrame::GetType() const nsSVGGFrame::GetType() const
{ {

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

@ -54,7 +54,6 @@ class nsSVGGFrame : public nsSVGGFrameBase,
public: public:
nsSVGGFrame(nsStyleContext* aContext) : nsSVGGFrame(nsStyleContext* aContext) :
nsSVGGFrameBase(aContext), mPropagateTransform(PR_TRUE) {} nsSVGGFrameBase(aContext), mPropagateTransform(PR_TRUE) {}
virtual void Destroy();
/** /**
* Get the "type" of the frame * Get the "type" of the frame

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

@ -57,7 +57,6 @@ class nsSVGInnerSVGFrame : public nsSVGInnerSVGFrameBase,
NS_NewSVGInnerSVGFrame(nsIPresShell* aPresShell, nsIContent* aContent, nsStyleContext* aContext); NS_NewSVGInnerSVGFrame(nsIPresShell* aPresShell, nsIContent* aContent, nsStyleContext* aContext);
protected: protected:
nsSVGInnerSVGFrame(nsStyleContext* aContext); nsSVGInnerSVGFrame(nsStyleContext* aContext);
virtual void Destroy();
// nsISupports interface: // nsISupports interface:
NS_IMETHOD QueryInterface(const nsIID& aIID, void** aInstancePtr); NS_IMETHOD QueryInterface(const nsIID& aIID, void** aInstancePtr);
@ -139,12 +138,6 @@ nsSVGInnerSVGFrame::nsSVGInnerSVGFrame(nsStyleContext* aContext) :
#endif #endif
} }
void nsSVGInnerSVGFrame::Destroy()
{
nsSVGUtils::StyleEffects(this);
nsSVGInnerSVGFrameBase::Destroy();
}
void void
nsSVGInnerSVGFrame::UpdateCoordCtx() nsSVGInnerSVGFrame::UpdateCoordCtx()
{ {

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

@ -64,7 +64,7 @@ class nsSVGPathGeometryFrame : public nsSVGPathGeometryFrameBase,
{ {
public: public:
nsSVGPathGeometryFrame(nsStyleContext* aContext); nsSVGPathGeometryFrame(nsStyleContext* aContext);
~nsSVGPathGeometryFrame(); virtual ~nsSVGPathGeometryFrame();
// nsISupports interface: // nsISupports interface:
NS_IMETHOD QueryInterface(const nsIID& aIID, void** aInstancePtr); NS_IMETHOD QueryInterface(const nsIID& aIID, void** aInstancePtr);
@ -127,7 +127,6 @@ protected:
private: private:
void Render(nsISVGRendererCanvas *aCanvas); void Render(nsISVGRendererCanvas *aCanvas);
void GeneratePath(cairo_t *ctx, nsISVGCairoCanvas* aCanvas); void GeneratePath(cairo_t *ctx, nsISVGCairoCanvas* aCanvas);
void RemovePathProperties();
/* /*
* Check for what cairo returns for the fill extents of a degenerate path * Check for what cairo returns for the fill extents of a degenerate path

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

@ -59,6 +59,7 @@
#include "nsISVGRenderer.h" #include "nsISVGRenderer.h"
#include "nsSVGFilterFrame.h" #include "nsSVGFilterFrame.h"
#include "nsINameSpaceManager.h" #include "nsINameSpaceManager.h"
#include "nsISVGChildFrame.h"
#include "nsIDOMSVGPoint.h" #include "nsIDOMSVGPoint.h"
#include "nsSVGPoint.h" #include "nsSVGPoint.h"
#include "nsDOMError.h" #include "nsDOMError.h"