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

Unified Diff: compiled/filter/ActiveFilter.cpp

Issue 29587914: Issue 5142 - Convert Element Hiding to C++ (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Fixed leaks in test. Extracted changes to string and string map. Created Jan. 22, 2018, 4:48 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
« no previous file with comments | « compiled/filter/ActiveFilter.h ('k') | lib/elemHide.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/filter/ActiveFilter.cpp
===================================================================
--- a/compiled/filter/ActiveFilter.cpp
+++ b/compiled/filter/ActiveFilter.cpp
@@ -15,20 +15,17 @@
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
#include <cstdio>
#include "ActiveFilter.h"
#include "../StringScanner.h"
-namespace
-{
- const DependentString DEFAULT_DOMAIN(u""_str);
-}
+const DependentString ActiveFilter::DEFAULT_DOMAIN(u""_str);
ActiveFilter::ActiveFilter(Type type, const String& text, bool ignoreTrailingDot)
: Filter(type, text), mIgnoreTrailingDot(ignoreTrailingDot),
mDisabled(false), mHitCount(0), mLastHit(0)
{
}
ActiveFilter::DomainMap* ActiveFilter::GetDomains() const
« no previous file with comments | « compiled/filter/ActiveFilter.h ('k') | lib/elemHide.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld