for Bug 39621 Need to turn on nsViewManager by default

add ifdef DEBUG
r=kmcclusk@netscape.com, sr=roc+moz@cs.cmu.edu
This commit is contained in:
timeless%mac.com 2001-03-12 04:48:26 +00:00
Родитель ce1acffe03
Коммит 973bcd9017
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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.