Bug 1450538 - Use nsIURI::GetDisplaySpec to compensate a change to nsIURI::GetSpec. r=valentin

MozReview-Commit-ID: 5xYAbx78K3q

--HG--
extra : rebase_source : 963a823ca4164e0beec157838853ea541dfbdc4e
This commit is contained in:
Masatoshi Kimura 2018-04-14 10:29:36 +09:00
parent a9ba788f0b
commit 033d5b8ba2

View File

@ -13674,7 +13674,7 @@ nsDocShell::OnOverLink(nsIContent* aContent,
}
nsAutoCString spec;
rv = aURI->GetSpec(spec);
rv = aURI->GetDisplaySpec(spec);
NS_ENSURE_SUCCESS(rv, rv);
NS_ConvertUTF8toUTF16 uStr(spec);