Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: compiled/filter/RegExpFilter.h

Issue 29574665: Issue 5159 - Expose collapse property for BlockingFilter (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Added test for collapse Created Oct. 13, 2017, 3:40 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: compiled/filter/RegExpFilter.h
===================================================================
--- a/compiled/filter/RegExpFilter.h
+++ b/compiled/filter/RegExpFilter.h
@@ -33,17 +33,17 @@
};
mutable String::size_type mDomainsStart;
mutable String::size_type mDomainsEnd;
mutable String::size_type mSitekeysStart;
mutable String::size_type mSitekeysEnd;
int mContentType;
bool mMatchCase;
TrippleState mThirdParty;
- TrippleState mCollapse;
+ bool mCollapse;
bool RegExpParsingDone() const
{
return mPatternStart == String::npos;
}
void SetRegExp(int regexpId) const
{

Powered by Google App Engine
This is Rietveld