зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1456995 - give InternalRequest::mMozErrors a default initializer r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D44514 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
2f362be636
Коммит
398ea07602
|
@ -95,7 +95,6 @@ InternalRequest::InternalRequest(const nsACString& aURL,
|
|||
mResponseTainting(LoadTainting::Basic),
|
||||
mCacheMode(RequestCache::Default),
|
||||
mRedirectMode(RequestRedirect::Follow),
|
||||
mMozErrors(false),
|
||||
mAuthenticationFlag(false),
|
||||
mPreserveContentCodings(false)
|
||||
// FIXME(nsm): This should be false by default, but will lead to the
|
||||
|
@ -131,7 +130,6 @@ InternalRequest::InternalRequest(
|
|||
mCacheMode(aCacheMode),
|
||||
mRedirectMode(aRequestRedirect),
|
||||
mIntegrity(aIntegrity),
|
||||
mMozErrors(false),
|
||||
mAuthenticationFlag(false),
|
||||
mPreserveContentCodings(false)
|
||||
// FIXME See the above comment in the default constructor.
|
||||
|
|
|
@ -406,7 +406,7 @@ class InternalRequest final {
|
|||
RequestCache mCacheMode;
|
||||
RequestRedirect mRedirectMode;
|
||||
nsString mIntegrity;
|
||||
bool mMozErrors;
|
||||
bool mMozErrors = false;
|
||||
nsCString mFragment;
|
||||
MOZ_INIT_OUTSIDE_CTOR bool mAuthenticationFlag;
|
||||
MOZ_INIT_OUTSIDE_CTOR bool mPreserveContentCodings;
|
||||
|
|
Загрузка…
Ссылка в новой задаче