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

Unified Diff: compiled/filter/RegExpFilter.h

Issue 29581588: Issue 5258 - Add typedefs for smart pointers referring to all filter and subscription classes (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created Oct. 17, 2017, 12:27 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/InvalidFilter.h ('k') | compiled/filter/WhitelistFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/filter/RegExpFilter.h
===================================================================
--- a/compiled/filter/RegExpFilter.h
+++ b/compiled/filter/RegExpFilter.h
@@ -102,8 +102,10 @@ public:
static void GenerateCustomBindings();
bool BINDINGS_EXPORTED Matches(const String& location, int typeMask,
DependentString& docDomain, bool thirdParty, const String& sitekey) const;
const DependentString GetRegExpSource() const
{
return mData.GetRegExpSource(mText);
}
};
+
+typedef intrusive_ptr<RegExpFilter> RegExpFilterPtr;
« no previous file with comments | « compiled/filter/InvalidFilter.h ('k') | compiled/filter/WhitelistFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld