зеркало из https://github.com/mozilla/gecko-dev.git
Remove #if DEBUG condition for some functions that really should be debug
but need to be included/excluded some other way, when I have time. PHOTON ONLY
This commit is contained in:
Родитель
ed9cd36d1f
Коммит
8027929b6d
|
@ -2651,7 +2651,7 @@ void nsWidget::EnableDamage( PtWidget_t *widget, PRBool enable )
|
|||
}
|
||||
}
|
||||
|
||||
#if defined(DEBUG)
|
||||
//#if defined(DEBUG)
|
||||
/**************************************************************/
|
||||
/* This was stolen from widget/src/xpwidgets/nsBaseWidget.cpp */
|
||||
nsAutoString nsWidget::GuiEventToString(nsGUIEvent * aGuiEvent)
|
||||
|
@ -2774,4 +2774,4 @@ case _value: eventName = _name ; break
|
|||
|
||||
return nsAutoString(eventName);
|
||||
}
|
||||
#endif
|
||||
//#endif
|
||||
|
|
|
@ -181,10 +181,10 @@ protected:
|
|||
nsWidgetInitData *aInitData,
|
||||
nsNativeWidget aNativeParent = nsnull);
|
||||
|
||||
#if defined(DEBUG)
|
||||
//#if defined(DEBUG)
|
||||
static nsAutoString GuiEventToString(nsGUIEvent * aGuiEvent);
|
||||
static nsAutoString PhotonEventToString(PhEvent_t * aPhEvent);
|
||||
#endif
|
||||
//#endif
|
||||
|
||||
PRBool DispatchWindowEvent(nsGUIEvent* event);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче