Bug 1584787 - Fix incorrect assignment when cloning document. r=baku

Differential Revision: https://phabricator.services.mozilla.com/D47772

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Thomas Nguyen 2019-10-04 16:33:34 +00:00
parent 986df12c96
commit e66558e70c

View File

@ -12101,7 +12101,7 @@ already_AddRefed<Document> Document::CreateStaticClone(
clonedDoc->mReferrerInfo =
static_cast<dom::ReferrerInfo*>(mReferrerInfo.get())->Clone();
clonedDoc->mPreloadReferrerInfo = clonedDoc->mPreloadReferrerInfo;
clonedDoc->mPreloadReferrerInfo = clonedDoc->mReferrerInfo;
}
}
mCreatingStaticClone = false;