mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-15 14:30:47 +00:00
get rid of non-virtual dtor with virtual methods warnings. r=saari/sr=hyatt bug 75653
This commit is contained in:
parent
59f89368ed
commit
75255d7f07
@ -53,7 +53,7 @@ class nsATSUIToolkit
|
||||
{
|
||||
public:
|
||||
nsATSUIToolkit();
|
||||
~nsATSUIToolkit() {};
|
||||
virtual ~nsATSUIToolkit() {};
|
||||
|
||||
void PrepareToDraw(GrafPtr aPort, nsIDeviceContext* aContext);
|
||||
|
||||
|
@ -39,7 +39,7 @@ class nsFontMetricsMac : public nsIFontMetrics
|
||||
{
|
||||
public:
|
||||
nsFontMetricsMac();
|
||||
~nsFontMetricsMac();
|
||||
virtual ~nsFontMetricsMac();
|
||||
|
||||
NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW
|
||||
|
||||
|
@ -34,7 +34,7 @@ class nsUnicodeRenderingToolkit
|
||||
{
|
||||
public:
|
||||
nsUnicodeRenderingToolkit() {};
|
||||
~nsUnicodeRenderingToolkit() {};
|
||||
virtual ~nsUnicodeRenderingToolkit() {};
|
||||
|
||||
NS_IMETHOD PrepareToDraw(float aP2T, nsIDeviceContext* aContext, nsGraphicState* aGS, GrafPtr aPort);
|
||||
NS_IMETHOD GetWidth(const PRUnichar *aString, PRUint32 aLength, nscoord &aWidth,
|
||||
|
Loading…
x
Reference in New Issue
Block a user