diff --git a/layout/xul/base/src/nsToolbarFrame.cpp b/layout/xul/base/src/nsToolbarFrame.cpp index f34e447a8d8..cf983e0768a 100644 --- a/layout/xul/base/src/nsToolbarFrame.cpp +++ b/layout/xul/base/src/nsToolbarFrame.cpp @@ -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