From 973bcd901731db6551dcfbefb9fbcadb75b9253a Mon Sep 17 00:00:00 2001 From: "timeless%mac.com" Date: Mon, 12 Mar 2001 04:48:26 +0000 Subject: [PATCH] for Bug 39621 Need to turn on nsViewManager by default add ifdef DEBUG r=kmcclusk@netscape.com, sr=roc+moz@cs.cmu.edu --- view/src/nsViewManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/view/src/nsViewManager.cpp b/view/src/nsViewManager.cpp index 7cdc3fb4d3e3..000f6148cc65 100644 --- a/view/src/nsViewManager.cpp +++ b/view/src/nsViewManager.cpp @@ -1238,8 +1238,10 @@ void nsViewManager::RenderViews(nsIView *aRootView, nsIRenderingContext& aRC, co // XXX Which color should we use for these bits? aRC.SetColor(NS_RGB(128, 128, 128)); aRC.FillRect(finalTransparentRect); +#ifdef DEBUG printf("XXX: Using final transparent rect, x=%d, y=%d, width=%d, height=%d\n", finalTransparentRect.x, finalTransparentRect.y, finalTransparentRect.width, finalTransparentRect.height); +#endif } // initialize various counters. These are updated in OptimizeDisplayListClipping.