Remove the nsDrawingSurface typedef and replace it with nsIDrawingSurface*. b=64023 r+sr=roc

git-svn-id: svn://10.0.0.236/trunk@178476 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%dbaron.org 2005-08-20 07:14:01 +00:00
parent b8a8b8dbdb
commit c331f777e6
3 changed files with 3 additions and 3 deletions

View File

@ -469,7 +469,7 @@ nsNativeThemeGTK::DrawWidgetBackground(nsIRenderingContext* aContext,
return NS_OK;
nsDrawingSurfaceGTK* surface;
aContext->GetDrawingSurface((nsDrawingSurface*)&surface);
aContext->GetDrawingSurface((nsIDrawingSurface**)&surface);
GdkWindow* window = (GdkWindow*) surface->GetDrawable();
nsTransform2D* transformMatrix;

View File

@ -469,7 +469,7 @@ nsNativeThemeGTK::DrawWidgetBackground(nsIRenderingContext* aContext,
return NS_OK;
nsDrawingSurfaceGTK* surface;
aContext->GetDrawingSurface((nsDrawingSurface*)&surface);
aContext->GetDrawingSurface((nsIDrawingSurface**)&surface);
GdkWindow* window = (GdkWindow*) surface->GetDrawable();
nsTransform2D* transformMatrix;

View File

@ -292,7 +292,7 @@ nsNativeThemeMac::DrawWidgetBackground(nsIRenderingContext* aContext, nsIFrame*
PRUint8 aWidgetType, const nsRect& aRect, const nsRect& aClipRect)
{
// setup to draw into the correct port
nsDrawingSurface surf;
nsIDrawingSurface* surf;
aContext->GetDrawingSurface(&surf);
nsDrawingSurfaceMac* macSurface = (nsDrawingSurfaceMac*)surf;
CGrafPtr port = nsnull;