From cdbaa6ac841946ffe1e93fa62cbd9e4c4e396d34 Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Wed, 26 Apr 2000 03:43:45 +0000 Subject: [PATCH] Made BeOS use the nsRenderingContextImpl class as the gtk builds do. git-svn-id: svn://10.0.0.236/trunk@67176 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx/src/beos/nsGfxFactoryBeOS.cpp | 2 -- mozilla/gfx/src/beos/nsRenderingContextBeOS.h | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mozilla/gfx/src/beos/nsGfxFactoryBeOS.cpp b/mozilla/gfx/src/beos/nsGfxFactoryBeOS.cpp index aae28d6bba5..a324bccd64c 100644 --- a/mozilla/gfx/src/beos/nsGfxFactoryBeOS.cpp +++ b/mozilla/gfx/src/beos/nsGfxFactoryBeOS.cpp @@ -20,7 +20,6 @@ * Contributor(s): */ -#include "nscore.h" #include "nsIFactory.h" #include "nsISupports.h" #include "nsGfxCIID.h" @@ -44,7 +43,6 @@ static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID); static NS_DEFINE_IID(kCDeviceContextSpec, NS_DEVICE_CONTEXT_SPEC_CID); static NS_DEFINE_IID(kCDeviceContextSpecFactory, NS_DEVICE_CONTEXT_SPEC_FACTORY_CID); - class nsGfxFactoryBeOS : public nsIFactory { public: diff --git a/mozilla/gfx/src/beos/nsRenderingContextBeOS.h b/mozilla/gfx/src/beos/nsRenderingContextBeOS.h index 20a82e0ddb6..048d8712b7c 100644 --- a/mozilla/gfx/src/beos/nsRenderingContextBeOS.h +++ b/mozilla/gfx/src/beos/nsRenderingContextBeOS.h @@ -23,7 +23,7 @@ #ifndef nsRenderingContextBeOS_h___ #define nsRenderingContextBeOS_h___ -#include "nsIRenderingContext.h" +#include "nsRenderingContextImpl.h" #include "nsUnitConversion.h" #include "nsFont.h" #include "nsIFontMetrics.h" @@ -40,7 +40,7 @@ #include "nsDrawingSurfaceBeOS.h" #include "nsRegionBeOS.h" -class nsRenderingContextBeOS : public nsIRenderingContext +class nsRenderingContextBeOS : public nsRenderingContextImpl { public: nsRenderingContextBeOS();