From 75c2e94a05afb0ea23121736fa84f828f2884e13 Mon Sep 17 00:00:00 2001 From: "jst%netscape.com" Date: Thu, 20 Apr 2000 16:22:10 +0000 Subject: [PATCH] Backing out dcones last changes since they made linux tinderbox go orange, and the toolbar wasn't properly drawn with the changes. --- layout/base/nsCSSRendering.cpp | 4 +--- layout/html/style/src/nsCSSRendering.cpp | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/layout/base/nsCSSRendering.cpp b/layout/base/nsCSSRendering.cpp index c1a6e81b6a87..434fb793be6e 100644 --- a/layout/base/nsCSSRendering.cpp +++ b/layout/base/nsCSSRendering.cpp @@ -2278,9 +2278,7 @@ PRInt16 borderRadii[4],i; } } - - aRenderingContext.DrawTile(image,x0,y0,x1,y1,tileWidth,tileHeight); - +#define DOTILE #ifdef DOTILE nsIDrawingSurface *theSurface,*ts=nsnull; nsRect srcRect,destRect,vrect,tvrect; diff --git a/layout/html/style/src/nsCSSRendering.cpp b/layout/html/style/src/nsCSSRendering.cpp index c1a6e81b6a87..434fb793be6e 100644 --- a/layout/html/style/src/nsCSSRendering.cpp +++ b/layout/html/style/src/nsCSSRendering.cpp @@ -2278,9 +2278,7 @@ PRInt16 borderRadii[4],i; } } - - aRenderingContext.DrawTile(image,x0,y0,x1,y1,tileWidth,tileHeight); - +#define DOTILE #ifdef DOTILE nsIDrawingSurface *theSurface,*ts=nsnull; nsRect srcRect,destRect,vrect,tvrect;