mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 803665 - part 0 - make nsTimeout properly initialize its fields; r=bz
This commit is contained in:
parent
8e91ad7ba1
commit
dfa6661109
@ -533,6 +533,14 @@ private:
|
|||||||
NS_IMPL_ISUPPORTS2(nsGlobalWindowObserver, nsIObserver, nsIInterfaceRequestor)
|
NS_IMPL_ISUPPORTS2(nsGlobalWindowObserver, nsIObserver, nsIInterfaceRequestor)
|
||||||
|
|
||||||
nsTimeout::nsTimeout()
|
nsTimeout::nsTimeout()
|
||||||
|
: mCleared(false),
|
||||||
|
mRunning(false),
|
||||||
|
mIsInterval(false),
|
||||||
|
mPublicId(0),
|
||||||
|
mInterval(0),
|
||||||
|
mFiringDepth(0),
|
||||||
|
mNestingLevel(0),
|
||||||
|
mPopupState(openAllowed)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG_jst
|
#ifdef DEBUG_jst
|
||||||
{
|
{
|
||||||
@ -542,8 +550,6 @@ nsTimeout::nsTimeout()
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
memset(this, 0, sizeof(*this));
|
|
||||||
|
|
||||||
MOZ_COUNT_CTOR(nsTimeout);
|
MOZ_COUNT_CTOR(nsTimeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user