summaryrefslogtreecommitdiff
path: root/netwerk
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-03-07 11:35:36 +0100
committerMoonchild <moonchild@palemoon.org>2023-03-07 11:35:36 +0100
commitdd32c96ac6e657508af431dac030f3fb49447114 (patch)
tree90e59f9325e0178bfade9f65fb4505283827f791 /netwerk
parent71a3487554a11f920df41f0b0008d372f07a260a (diff)
downloaduxp-dd32c96ac6e657508af431dac030f3fb49447114.tar.gz
Issue #2133 - Part 4: Remove TrackingProtection var in classifier.
Diffstat (limited to 'netwerk')
-rw-r--r--netwerk/base/nsChannelClassifier.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/netwerk/base/nsChannelClassifier.cpp b/netwerk/base/nsChannelClassifier.cpp
index d5a5997a3d..82ad61cd7e 100644
--- a/netwerk/base/nsChannelClassifier.cpp
+++ b/netwerk/base/nsChannelClassifier.cpp
@@ -147,7 +147,6 @@ nsChannelClassifier::StartInternal()
NS_ENSURE_SUCCESS(rv, rv);
bool expectCallback;
- bool trackingProtectionEnabled = false;
if (LOG_ENABLED()) {
nsCOMPtr<nsIURI> principalURI;
@@ -156,8 +155,7 @@ nsChannelClassifier::StartInternal()
"uri %s", this, principalURI->GetSpecOrDefault().get(),
uri->GetSpecOrDefault().get()));
}
- rv = uriClassifier->Classify(principal, trackingProtectionEnabled, this,
- &expectCallback);
+ rv = uriClassifier->Classify(principal, false, this, &expectCallback);
if (NS_FAILED(rv)) {
return rv;
}