Added some debug info to UpdateWidgeDamage , still tryin to track down
the reason for the extra draws I see under Photon. r=kedl git-svn-id: svn://10.0.0.236/trunk@53878 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
633876903d
commit
c249dfa1b7
@ -178,6 +178,7 @@ NS_IMETHODIMP nsWidget::Destroy(void)
|
||||
mEventCallback = nsnull;
|
||||
RemoveDamagedWidget(mWidget);
|
||||
PtDestroyWidget( mWidget );
|
||||
|
||||
mWidget = nsnull;
|
||||
|
||||
if( PR_FALSE == mOnDestroyCalled )
|
||||
@ -2103,7 +2104,7 @@ void nsWidget::UpdateWidgetDamage()
|
||||
extent.lr.x = extent.ul.x + temp_rect.width - 1;
|
||||
extent.lr.y = extent.ul.y + temp_rect.height - 1;
|
||||
|
||||
PR_LOG(PhWidLog, PR_LOG_DEBUG, ("nsWidget::UpdateWidgetDamaged this=<%p> extent=(%d,%d,%d,%d)\n", this, extent.ul.x, extent.ul.y, extent.lr.x, extent.lr.y));
|
||||
PR_LOG(PhWidLog, PR_LOG_DEBUG, ("nsWidget::UpdateWidgetDamaged this=<%p> mWidget=<%p> extent=(%d,%d,%d,%d)\n", this, mWidget, extent.ul.x, extent.ul.y, extent.lr.x, extent.lr.y));
|
||||
|
||||
PtDamageExtent( mWidget, &extent );
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user