зеркало из https://github.com/mozilla/pjs.git
get rid of non-virtual dtor with virtual methods warnings. r=saari/sr=hyatt bug 75653
This commit is contained in:
Родитель
f634d8fdcf
Коммит
fdc83b7f9a
|
@ -53,7 +53,7 @@ class nsATSUIToolkit
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
nsATSUIToolkit();
|
nsATSUIToolkit();
|
||||||
~nsATSUIToolkit() {};
|
virtual ~nsATSUIToolkit() {};
|
||||||
|
|
||||||
void PrepareToDraw(GrafPtr aPort, nsIDeviceContext* aContext);
|
void PrepareToDraw(GrafPtr aPort, nsIDeviceContext* aContext);
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ class nsFontMetricsMac : public nsIFontMetrics
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
nsFontMetricsMac();
|
nsFontMetricsMac();
|
||||||
~nsFontMetricsMac();
|
virtual ~nsFontMetricsMac();
|
||||||
|
|
||||||
NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW
|
NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ class nsUnicodeRenderingToolkit
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
nsUnicodeRenderingToolkit() {};
|
nsUnicodeRenderingToolkit() {};
|
||||||
~nsUnicodeRenderingToolkit() {};
|
virtual ~nsUnicodeRenderingToolkit() {};
|
||||||
|
|
||||||
NS_IMETHOD PrepareToDraw(float aP2T, nsIDeviceContext* aContext, nsGraphicState* aGS, GrafPtr aPort);
|
NS_IMETHOD PrepareToDraw(float aP2T, nsIDeviceContext* aContext, nsGraphicState* aGS, GrafPtr aPort);
|
||||||
NS_IMETHOD GetWidth(const PRUnichar *aString, PRUint32 aLength, nscoord &aWidth,
|
NS_IMETHOD GetWidth(const PRUnichar *aString, PRUint32 aLength, nscoord &aWidth,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче