Bug 1183485 - Exempt security/sandbox/chromium from MOZ_IMPLICIT enforcement. r=ehsan

This commit is contained in:
Jed Davis 2015-07-17 14:57:00 -04:00
Родитель f6371d60cc
Коммит 2db77cc224
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -180,6 +180,11 @@ bool isIgnoredPathForImplicitCtor(const Decl *decl) {
begin->compare_lower(StringRef("graphite2")) == 0) {
return true;
}
if (begin->compare_lower(StringRef("chromium")) == 0) {
// Ignore security/sandbox/chromium but not ipc/chromium.
++begin;
return begin != end && begin->compare_lower(StringRef("sandbox")) == 0;
}
}
return false;
}