зеркало из https://github.com/mozilla/gecko-dev.git
turned off some rods debug output and fixed visibility check error
r=kmcclusk bug=21701
This commit is contained in:
Родитель
d2347a8d52
Коммит
4fe94fce65
|
@ -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,
|
||||
|
|
|
@ -64,7 +64,7 @@ public:
|
|||
const nsRect& aDirtyRect);
|
||||
|
||||
///XXX: End o the temporary methods
|
||||
#ifdef DEBUG_rods
|
||||
#ifdef DEBUG_rodsXXX
|
||||
NS_IMETHOD Reflow(nsIPresContext* aCX,
|
||||
nsHTMLReflowMetrics& aDesiredSize,
|
||||
const nsHTMLReflowState& aReflowState,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -64,7 +64,7 @@ public:
|
|||
const nsRect& aDirtyRect);
|
||||
|
||||
///XXX: End o the temporary methods
|
||||
#ifdef DEBUG_rods
|
||||
#ifdef DEBUG_rodsXXX
|
||||
NS_IMETHOD Reflow(nsIPresContext* aCX,
|
||||
nsHTMLReflowMetrics& aDesiredSize,
|
||||
const nsHTMLReflowState& aReflowState,
|
||||
|
|
Загрузка…
Ссылка в новой задаче