mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
More fixes for the motif toolkit. Bug #22266
This commit is contained in:
parent
3149a5f199
commit
81ce504bb7
@ -53,7 +53,7 @@ nsFontMetricsMotif :: ~nsFontMetricsMotif()
|
||||
|
||||
NS_IMPL_ISUPPORTS(nsFontMetricsMotif, kIFontMetricsIID)
|
||||
|
||||
NS_IMETHODIMP nsFontMetricsMotif :: Init(const nsFont& aFont, nsIAtom* aLangGroup, nsIDeviceContext* aContext)
|
||||
NS_IMETHODIMP nsFontMetricsMotif :: Init(const nsFont& aFont, nsIAtom* aLangGroup, nsIDeviceContext* aCX)
|
||||
{
|
||||
NS_ASSERTION(!(nsnull == aCX), "attempt to init fontmetrics with null device context");
|
||||
|
||||
|
@ -29,6 +29,8 @@
|
||||
#include "nsUnitConversion.h"
|
||||
#include "nsIDeviceContext.h"
|
||||
#include "nsCRT.h"
|
||||
#include "nsIAtom.h"
|
||||
#include "nsCOMPtr.h"
|
||||
|
||||
#include "X11/Xlib.h"
|
||||
|
||||
@ -43,7 +45,7 @@ public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
NS_IMETHOD Init(const nsFont& aFont, nsIAtom* aLangGroup,
|
||||
nsIDeviceContext* aContext);
|
||||
nsIDeviceContext* aCX);
|
||||
NS_IMETHOD Destroy();
|
||||
|
||||
NS_IMETHOD GetXHeight(nscoord& aResult);
|
||||
|
Loading…
Reference in New Issue
Block a user