зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1309924 - Remove the needless arguments to nsUrlClassifierClassifyCallback's constructor; r=francois
This commit is contained in:
Родитель
e1ba8e9ca9
Коммит
a34b273ba0
|
@ -1103,11 +1103,7 @@ public:
|
|||
NS_DECL_THREADSAFE_ISUPPORTS
|
||||
NS_DECL_NSIURLCLASSIFIERCALLBACK
|
||||
|
||||
nsUrlClassifierClassifyCallback(nsIURIClassifierCallback *c,
|
||||
bool checkMalware,
|
||||
bool checkPhishing,
|
||||
bool checkTracking,
|
||||
bool checkBlocked)
|
||||
explicit nsUrlClassifierClassifyCallback(nsIURIClassifierCallback *c)
|
||||
: mCallback(c)
|
||||
{}
|
||||
|
||||
|
@ -1386,8 +1382,7 @@ nsUrlClassifierDBService::Classify(nsIPrincipal* aPrincipal,
|
|||
}
|
||||
|
||||
RefPtr<nsUrlClassifierClassifyCallback> callback =
|
||||
new nsUrlClassifierClassifyCallback(c, mCheckMalware, mCheckPhishing,
|
||||
mCheckTracking, mCheckBlockedURIs);
|
||||
new nsUrlClassifierClassifyCallback(c);
|
||||
if (!callback) return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
nsAutoCString tables;
|
||||
|
|
Загрузка…
Ссылка в новой задаче