Bug 1461515 - Split tracking annotations from tracking protection. r=dimi
This makes it possible to use different lists for tracking protection and for the features that rely on tracking annotations. Differential Revision: https://phabricator.services.mozilla.com/D2484
This commit is contained in:
@@ -61,6 +61,11 @@ Classifier::SplitTables(const nsACString& str, nsTArray<nsCString>& tables)
|
||||
begin++;
|
||||
}
|
||||
}
|
||||
|
||||
// Remove duplicates
|
||||
tables.Sort();
|
||||
const auto newEnd = std::unique(tables.begin(), tables.end());
|
||||
tables.TruncateLength(std::distance(tables.begin(), newEnd));
|
||||
}
|
||||
|
||||
nsresult
|
||||
|
||||
Reference in New Issue
Block a user