Bug 1282408 - add ignore initialization check flag for variables in AltSvcMapping. r=mcmanus
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Wed, 14 Sep 2016 10:05:11 +0300
changeset 313885 4a0dca1cb72d7b22a702a7e6188283bb0f99a6df
parent 313884 ce4e1e8aaa0e4a4ec25d33a46458f821499d8c25
child 313886 c02571f1396f0669e2a29c78306972d10449518e
push id32267
push usercbook@mozilla.com
push dateWed, 14 Sep 2016 13:46:59 +0000
treeherderautoland@4b1f411b1ea6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmcmanus
bugs1282408
milestone51.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
Bug 1282408 - add ignore initialization check flag for variables in AltSvcMapping. r=mcmanus MozReview-Commit-ID: GRWqLr1pW3q
netwerk/protocol/http/AlternateServices.h
--- a/netwerk/protocol/http/AlternateServices.h
+++ b/netwerk/protocol/http/AlternateServices.h
@@ -100,31 +100,31 @@ private:
   RefPtr<DataStorage> mStorage;
   int32_t             mStorageEpoch;
   void Serialize (nsCString &out);
 
   nsCString mHashKey;
 
   // If you change any of these members, update Serialize()
   nsCString mAlternateHost;
-  int32_t mAlternatePort;
+  MOZ_INIT_OUTSIDE_CTOR int32_t mAlternatePort;
 
   nsCString mOriginHost;
-  int32_t mOriginPort;
+  MOZ_INIT_OUTSIDE_CTOR int32_t mOriginPort;
 
   nsCString mUsername;
-  bool mPrivate;
+  MOZ_INIT_OUTSIDE_CTOR bool mPrivate;
 
-  uint32_t mExpiresAt; // alt-svc mappping
+  MOZ_INIT_OUTSIDE_CTOR uint32_t mExpiresAt; // alt-svc mappping
 
-  bool mValidated;
-  bool mHttps; // origin is https://
-  bool mMixedScheme; // .wk allows http and https on same con
+  MOZ_INIT_OUTSIDE_CTOR bool mValidated;
+  MOZ_INIT_OUTSIDE_CTOR bool mHttps; // origin is https://
+  MOZ_INIT_OUTSIDE_CTOR bool mMixedScheme; // .wk allows http and https on same con
 
-  nsCString        mNPNToken;
+  nsCString mNPNToken;
 };
 
 class AltSvcOverride : public nsIInterfaceRequestor
                      , public nsISpeculativeConnectionOverrider
 {
 public:
   NS_DECL_THREADSAFE_ISUPPORTS
   NS_DECL_NSISPECULATIVECONNECTIONOVERRIDER