Bug 781126 - Followup, remove accidental tabs. r=me DONTBUILD

This commit is contained in:
John Schoenick 2012-08-22 14:11:52 -07:00
parent 3880ef8d38
commit 6d9cce76e8

View File

@ -207,13 +207,13 @@ nsContentBlocker::ShouldProcess(uint32_t aContentType,
bool shouldLoad, fromPrefs;
nsresult rv = TestPermission(aContentLocation, aRequestingLocation,
aContentType, &shouldLoad, &fromPrefs);
aContentType, &shouldLoad, &fromPrefs);
NS_ENSURE_SUCCESS(rv, rv);
if (!shouldLoad) {
if (fromPrefs) {
*aDecision = nsIContentPolicy::REJECT_TYPE;
*aDecision = nsIContentPolicy::REJECT_TYPE;
} else {
*aDecision = nsIContentPolicy::REJECT_SERVER;
*aDecision = nsIContentPolicy::REJECT_SERVER;
}
}
return NS_OK;