turned off some rods debug output and fixed visibility check error
r=kmcclusk bug=21701 git-svn-id: svn://10.0.0.236/trunk@56399 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -149,7 +149,7 @@ nsGfxRadioControlFrame::Paint(nsIPresContext* aPresContext,
|
||||
{
|
||||
const nsStyleDisplay* disp = (const nsStyleDisplay*)
|
||||
mStyleContext->GetStyleData(eStyleStruct_Display);
|
||||
if (!disp->mVisible)
|
||||
if (disp->mVisible != NS_STYLE_VISIBILITY_VISIBLE)
|
||||
return NS_OK;
|
||||
|
||||
// Paint the background
|
||||
@@ -173,7 +173,7 @@ void nsGfxRadioControlFrame::SetRadioState(nsIPresContext* aPresContext, PRBool
|
||||
nsFormControlHelper::ForceDrawFrame(aPresContext, this);
|
||||
}
|
||||
|
||||
#ifdef DEBUG_rods
|
||||
#ifdef DEBUG_rodsXXX
|
||||
NS_IMETHODIMP
|
||||
nsGfxRadioControlFrame::Reflow(nsIPresContext* aPresContext,
|
||||
nsHTMLReflowMetrics& aDesiredSize,
|
||||
|
||||
Reference in New Issue
Block a user