Index: compiled/ElemHideEmulation.cpp |
=================================================================== |
--- a/compiled/ElemHideEmulation.cpp |
+++ b/compiled/ElemHideEmulation.cpp |
@@ -36,16 +36,15 @@ |
} |
ElemHideEmulation_FilterList* ElemHideEmulation::GetRulesForDomain(const ElemHide& elemHide, DependentString& domain) |
{ |
intrusive_ptr<ElemHideEmulation_FilterList> result(new ElemHideEmulation_FilterList()); |
for (const auto& entry: mFilters) |
{ |
DependentString docDomain(domain); |
- if (!(entry.is_deleted() || entry.is_invalid()) && |
- entry.second->IsActiveOnDomain(docDomain) && |
+ if (entry.second->IsActiveOnDomain(docDomain) && |
!elemHide.GetException(*entry.second, domain)) |
result->push_back(entry.second); |
} |
return result.release(); |
} |