зеркало из https://github.com/mozilla/pjs.git
comment out the code that does its own painting. Just defer to the nsBlockFrame::Paint() for now, until we need to do some more at drag time.
This commit is contained in:
Родитель
24bb95293f
Коммит
1b4432bbfa
|
@ -82,6 +82,7 @@ nsToolbarFrame :: Paint ( nsIPresContext& aPresContext,
|
|||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer)
|
||||
{
|
||||
#if 0
|
||||
if (eFramePaintLayer_Underlay == aWhichLayer) {
|
||||
const nsStyleDisplay* disp = (const nsStyleDisplay*)
|
||||
mStyleContext->GetStyleData(eStyleStruct_Display);
|
||||
|
@ -108,7 +109,11 @@ nsToolbarFrame :: Paint ( nsIPresContext& aPresContext,
|
|||
// hidden
|
||||
PaintChildren(aPresContext, aRenderingContext, aDirtyRect, aWhichLayer);
|
||||
return NS_OK;
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
return nsBlockFrame::Paint ( aPresContext, aRenderingContext, aDirtyRect, aWhichLayer );
|
||||
|
||||
} // Paint
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче