Bug 1305801 - Part 5: Support SafeBrowsing v4 partial update. r=gcp

MozReview-Commit-ID: 7OEWLaZbotS
This commit is contained in:
Dimi Lee
2016-10-04 09:14:39 +08:00
parent e6d6ca8983
commit d316530abf
11 changed files with 780 additions and 100 deletions

View File

@@ -168,7 +168,7 @@ TableUpdateV4::NewPrefixes(int32_t aSize, std::string& aPrefixes)
NS_ENSURE_TRUE_VOID(aPrefixes.size() % aSize == 0);
NS_ENSURE_TRUE_VOID(!mPrefixesMap.Get(aSize));
PrefixString* prefix = new PrefixString(aPrefixes);
PrefixStdString* prefix = new PrefixStdString(aPrefixes);
mPrefixesMap.Put(aSize, prefix);
}