Bug 1276642 - initialize member variable |mStatus|. r=valentin
authorAndi-Bogdan Postelnicu <bogdan.postelnicu@softvision.ro>
Mon, 30 May 2016 15:37:47 +0300
changeset 340587 2dc637147b0737de466b52d7ff7490dd64e61ccc
parent 340586 c46e0dfad282f738981fd62bb91f5b5161c160e1
child 340588 c04872f21efe23b79cc9e1f4aa9a2e798fbb94a3
push id1183
push userraliiev@mozilla.com
push dateMon, 05 Sep 2016 20:01:49 +0000
treeherdermozilla-release@3148731bed45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvalentin
bugs1276642
milestone49.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 1276642 - initialize member variable |mStatus|. r=valentin MozReview-Commit-ID: DREwq15bAAe
netwerk/base/nsProtocolProxyService.cpp
--- a/netwerk/base/nsProtocolProxyService.cpp
+++ b/netwerk/base/nsProtocolProxyService.cpp
@@ -1130,16 +1130,17 @@ nsProtocolProxyService::ReloadPAC()
 // a false mainThreadResponse parameter.
 class nsAsyncBridgeRequest final  : public nsPACManCallback
 {
     NS_DECL_THREADSAFE_ISUPPORTS
 
      nsAsyncBridgeRequest()
         : mMutex("nsDeprecatedCallback")
         , mCondVar(mMutex, "nsDeprecatedCallback")
+        , mStatus(NS_OK)
         , mCompleted(false)
     {
     }
 
     void OnQueryComplete(nsresult status,
                          const nsCString &pacString,
                          const nsCString &newPACURL) override
     {