Bug 1380012 - Copy nsSHEntry::mResultPrincipalURI in its copy constructor. r=bz
authorHonza Bambas <honzab.moz@firemni.cz>
Sat, 29 Jul 2017 13:04:39 -0400
changeset 420605 5e89bb12f8ea59e469db2de4dab963d4b263cbdf
parent 420604 dd3e2939065e8c6805b1994583d5a04f39c8ab7c
child 420606 806f15a5c0f20a84d2e40c84e4d4f0d48e99d54c
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs1380012
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1380012 - Copy nsSHEntry::mResultPrincipalURI in its copy constructor. r=bz
docshell/shistory/nsSHEntry.cpp
--- a/docshell/shistory/nsSHEntry.cpp
+++ b/docshell/shistory/nsSHEntry.cpp
@@ -40,16 +40,17 @@ nsSHEntry::nsSHEntry()
   , mLoadedInThisProcess(false)
 {
 }
 
 nsSHEntry::nsSHEntry(const nsSHEntry& aOther)
   : mShared(aOther.mShared)
   , mURI(aOther.mURI)
   , mOriginalURI(aOther.mOriginalURI)
+  , mResultPrincipalURI(aOther.mResultPrincipalURI)
   , mReferrerURI(aOther.mReferrerURI)
   , mReferrerPolicy(aOther.mReferrerPolicy)
   , mTitle(aOther.mTitle)
   , mPostData(aOther.mPostData)
   , mLoadType(0)         // XXX why not copy?
   , mID(aOther.mID)
   , mScrollPositionX(0)  // XXX why not copy?
   , mScrollPositionY(0)  // XXX why not copy?