Bug 1453795 - DOM - Initialize member fields in classes/ structures. r=peterv

This commit is contained in:
Andi-Bogdan Postelnicu
2018-06-16 17:21:46 +03:00
parent 7466cdd359
commit 63320a1ffe
50 changed files with 158 additions and 112 deletions

View File

@@ -39,7 +39,11 @@ class nsSyncLoader : public nsIStreamListener,
public nsSupportsWeakReference
{
public:
nsSyncLoader() : mLoading(false) {}
nsSyncLoader()
: mLoading(false)
, mAsyncLoadStatus(NS_ERROR_NOT_INITIALIZED)
{
}
NS_DECL_ISUPPORTS