mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
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:
parent
986df12c96
commit
e66558e70c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user