Bug 1349987 - Init nsExtProtocolChannel.mLoadFlags to 0, r=jduell a=gchang
authorHonza Bambas <honzab.moz@firemni.cz>
Thu, 23 Mar 2017 10:17:00 +0100
changeset 379295 5ab83d9424cdb60ccbbdcb2849f640f06e4fd9a8
parent 379294 cedc5c3f53b5409f3059e656baf4e5bfc5fd5ec7
child 379296 6c66fac00e392e08121d905e27e461bdccd853ea
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjduell, gchang
bugs1349987
milestone53.0
Bug 1349987 - Init nsExtProtocolChannel.mLoadFlags to 0, r=jduell a=gchang
uriloader/exthandler/nsExternalProtocolHandler.cpp
--- a/uriloader/exthandler/nsExternalProtocolHandler.cpp
+++ b/uriloader/exthandler/nsExternalProtocolHandler.cpp
@@ -86,16 +86,17 @@ NS_INTERFACE_MAP_BEGIN(nsExtProtocolChan
    NS_INTERFACE_MAP_ENTRY(nsIRequestObserver)
 NS_INTERFACE_MAP_END_THREADSAFE
 
 nsExtProtocolChannel::nsExtProtocolChannel(nsIURI* aURI,
                                            nsILoadInfo* aLoadInfo)
   : mUrl(aURI)
   , mOriginalURI(aURI)
   , mStatus(NS_OK)
+  , mLoadFlags(nsIRequest::LOAD_NORMAL)
   , mWasOpened(false)
   , mConnectedParent(false)
   , mLoadInfo(aLoadInfo)
 {
 }
 
 nsExtProtocolChannel::~nsExtProtocolChannel()
 {}