diff --git a/mozilla/gfx/src/xlib/nsFontMetricsXlib.h b/mozilla/gfx/src/xlib/nsFontMetricsXlib.h index a5566ee054a..f6641b54c48 100644 --- a/mozilla/gfx/src/xlib/nsFontMetricsXlib.h +++ b/mozilla/gfx/src/xlib/nsFontMetricsXlib.h @@ -96,6 +96,7 @@ public: NS_IMETHOD Destroy(); NS_IMETHOD GetXHeight(nscoord& aResult); + NS_IMETHOD GetNormalLineHeight(nscoord &); NS_IMETHOD GetSuperscriptOffset(nscoord& aResult); NS_IMETHOD GetSubscriptOffset(nscoord& aResult); NS_IMETHOD GetStrikeout(nscoord& aOffset, nscoord& aSize); diff --git a/mozilla/gfx/src/xlib/nsRenderingContextXlib.h b/mozilla/gfx/src/xlib/nsRenderingContextXlib.h index fde05205150..1afc77f4c92 100644 --- a/mozilla/gfx/src/xlib/nsRenderingContextXlib.h +++ b/mozilla/gfx/src/xlib/nsRenderingContextXlib.h @@ -105,6 +105,7 @@ class nsRenderingContextXlib : public nsIRenderingContext NS_IMETHOD DrawStdLine(nscoord aX0, nscoord aY0, nscoord aX1, nscoord aY1); NS_IMETHOD DrawPath(nsPathPoint aPointArray[], PRInt32 aNumPts); + NS_IMETHOD FillPath(nsPathPoint aPointArray[], PRInt32 aNumPts); NS_IMETHOD FillRect(const nsRect& aRect); NS_IMETHOD FillRect(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight); @@ -114,6 +115,7 @@ class nsRenderingContextXlib : public nsIRenderingContext NS_IMETHOD DrawPolygon(const nsPoint aPoints[], PRInt32 aNumPoints); NS_IMETHOD FillPolygon(const nsPoint aPoints[], PRInt32 aNumPoints); + NS_IMETHOD FillStdPolygon(const nsPoint aPoints[], PRInt32 aNumPoints); NS_IMETHOD DrawEllipse(const nsRect& aRect); NS_IMETHOD DrawEllipse(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight);