From 871efe1e70d8c110007872f7392ce399145e9de1 Mon Sep 17 00:00:00 2001 From: "michaelp%netscape.com" Date: Wed, 31 Mar 1999 06:07:12 +0000 Subject: [PATCH] now vends nsBlender rather than nsBlenderWin. --- gfx/src/windows/nsGfxFactoryWin.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gfx/src/windows/nsGfxFactoryWin.cpp b/gfx/src/windows/nsGfxFactoryWin.cpp index 7ede00aad85a..add66d94a5d3 100644 --- a/gfx/src/windows/nsGfxFactoryWin.cpp +++ b/gfx/src/windows/nsGfxFactoryWin.cpp @@ -25,7 +25,7 @@ #include "nsImageWin.h" #include "nsDeviceContextWin.h" #include "nsRegionWin.h" -#include "nsBlenderWin.h" +#include "nsBlender.h" #include "nsDeviceContextSpecWin.h" #include "nsDeviceContextSpecFactoryW.h" @@ -153,11 +153,11 @@ nsresult nsGfxFactoryWin::CreateInstance(nsISupports *aOuter, inst = (nsISupports *)region; } else if (mClassID.Equals(kCBlender)) { - nsBlenderWin* blender; - NS_NEWXPCOM(blender, nsBlenderWin); + nsBlender* blender; + NS_NEWXPCOM(blender, nsBlender); inst = (nsISupports *)blender; } - else if (mClassID.Equals(kCBlender)) { + else if (mClassID.Equals(kCDrawingSurface)) { nsDrawingSurfaceWin* ds; NS_NEWXPCOM(ds, nsDrawingSurfaceWin); inst = (nsISupports *)((nsIDrawingSurface *)ds);