зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
ce1acffe03
Коммит
973bcd9017
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче