mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 1728267 - Remove implicit ToResult from QM_TRY when no extra argument is passed in dom/localstorage; r=dom-storage-reviewers,jstutte,jari
Differential Revision: https://phabricator.services.mozilla.com/D125321
This commit is contained in:
parent
ebf956bd02
commit
2fd705fb88
File diff suppressed because it is too large
Load Diff
@ -128,7 +128,7 @@ Result<std::pair<nsCString, nsCString>, nsresult> GenerateOriginKey2(
|
||||
attrs.CreateSuffix(originAttrSuffix);
|
||||
|
||||
RefPtr<MozURL> specURL;
|
||||
QM_TRY(MozURL::Init(getter_AddRefs(specURL), spec));
|
||||
QM_TRY(MOZ_TO_RESULT(MozURL::Init(getter_AddRefs(specURL), spec)));
|
||||
|
||||
nsCString host(specURL->Host());
|
||||
uint32_t length = host.Length();
|
||||
|
Loading…
Reference in New Issue
Block a user