mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
Bug 1621305 - Remove GetUri in nsChannelClassifier.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D66248 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
8193cb1f80
commit
13de9eb145
@ -202,8 +202,8 @@ nsresult nsChannelClassifier::StartInternal() {
|
||||
bool expectCallback;
|
||||
if (UC_LOG_ENABLED()) {
|
||||
nsCOMPtr<nsIURI> principalURI;
|
||||
principal->GetURI(getter_AddRefs(principalURI));
|
||||
nsCString spec = principalURI->GetSpecOrDefault();
|
||||
nsCString spec;
|
||||
principal->GetAsciiSpec(spec);
|
||||
spec.Truncate(std::min(spec.Length(), UrlClassifierCommon::sMaxSpecLength));
|
||||
UC_LOG(("nsChannelClassifier[%p]: Classifying principal %s on channel[%p]",
|
||||
this, spec.get(), mChannel.get()));
|
||||
|
Loading…
Reference in New Issue
Block a user