author | Nathan Froyd <froydnj@mozilla.com> |
Thu, 01 Nov 2012 12:27:37 -0400 | |
changeset 112697 | 7f38df5f2448685a1e9c0c1a229b3badd552ae9b |
parent 112696 | fdcb6474f4b439026e87cc597e6ad84119f30c77 |
child 112698 | 00534980e99813ef97989d5478aa9885d52c7c38 |
push id | 23835 |
push user | ryanvm@gmail.com |
push date | Fri, 09 Nov 2012 00:52:02 +0000 |
treeherder | mozilla-central@27ae6c86237f [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | bz |
bugs | 803665 |
milestone | 19.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/dom/base/nsGlobalWindow.cpp +++ b/dom/base/nsGlobalWindow.cpp @@ -448,27 +448,33 @@ public: private: nsGlobalWindow* mWindow; }; NS_IMPL_ISUPPORTS2(nsGlobalWindowObserver, nsIObserver, nsIInterfaceRequestor) nsTimeout::nsTimeout() + : mCleared(false), + mRunning(false), + mIsInterval(false), + mPublicId(0), + mInterval(0), + mFiringDepth(0), + mNestingLevel(0), + mPopupState(openAllowed) { #ifdef DEBUG_jst { extern int gTimeoutCnt; ++gTimeoutCnt; } #endif - memset(this, 0, sizeof(*this)); - MOZ_COUNT_CTOR(nsTimeout); } nsTimeout::~nsTimeout() { #ifdef DEBUG_jst { extern int gTimeoutCnt;