Whacked paint methods to use new constants
This commit is contained in:
@@ -53,7 +53,7 @@ nsHTMLContainerFrame::Paint(nsIPresContext& aPresContext,
|
||||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer)
|
||||
{
|
||||
if (eFramePaintLayer_Underlay == aWhichLayer) {
|
||||
if (NS_FRAME_PAINT_LAYER_BACKGROUND == aWhichLayer) {
|
||||
const nsStyleDisplay* disp = (const nsStyleDisplay*)
|
||||
mStyleContext->GetStyleData(eStyleStruct_Display);
|
||||
if (disp->mVisible && mRect.width && mRect.height) {
|
||||
|
||||
Reference in New Issue
Block a user