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:
parent
b8a8b8dbdb
commit
c331f777e6
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user