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

Unified Diff: compiled/filter/Filter.h

Issue 29595633: Issue 5870 - Implement the new ElemHideEmulation filter type (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Review comments Created Jan. 30, 2018, 10:52 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/Filter.h
===================================================================
--- a/compiled/filter/Filter.h
+++ b/compiled/filter/Filter.h
@@ -41,16 +41,17 @@
WHITELIST = REGEXP | 32,
ELEMHIDEBASE = ACTIVE | 64,
ELEMHIDE = ELEMHIDEBASE | 128,
ELEMHIDEEXCEPTION = ELEMHIDEBASE | 256,
ELEMHIDEEMULATION = ELEMHIDEBASE | 512
};
explicit Filter(Type type, const String& text);
+ explicit Filter(Type type, String&& text);
~Filter();
Type mType;
const String& BINDINGS_EXPORTED GetText() const
{
return mText;
}

Powered by Google App Engine
This is Rietveld