Bug 1231633 - give scalar mLoadReplace a default value. r=bz

This commit is contained in:
Bogdan Postelnicu
2015-12-11 00:45:00 +01:00
parent 4b1e9e0c09
commit f72881f90a
2 changed files with 3 additions and 2 deletions

View File

@@ -12,7 +12,8 @@
#include "mozilla/net/ReferrerPolicy.h"
nsDocShellLoadInfo::nsDocShellLoadInfo()
: mInheritOwner(false)
: mLoadReplace(false)
, mInheritOwner(false)
, mOwnerIsExplicit(false)
, mSendReferrer(true)
, mReferrerPolicy(mozilla::net::RP_Default)

View File

@@ -33,8 +33,8 @@ protected:
protected:
nsCOMPtr<nsIURI> mReferrer;
nsCOMPtr<nsIURI> mOriginalURI;
bool mLoadReplace;
nsCOMPtr<nsISupports> mOwner;
bool mLoadReplace;
bool mInheritOwner;
bool mOwnerIsExplicit;
bool mSendReferrer;