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

Unified Diff: compiled/filter/RegExpFilter.h

Issue 29398655: Issue 5062 - [emscripten] Allow generation of custom bindings code (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Made the code slightly safer Created April 4, 2017, 2:25 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
@@ -101,12 +101,12 @@ protected:
DomainMap* GetDomains() const override;
SitekeySet* GetSitekeys() const override;
public:
explicit RegExpFilter(Type type, const String& text, const RegExpFilterData& data);
~RegExpFilter();
static Type Parse(DependentString& text, DependentString& error,
RegExpFilterData& data);
- EMSCRIPTEN_KEEPALIVE static void InitJSTypes();
+ EMSCRIPTEN_KEEPALIVE static void GenerateCustomBindings();
EMSCRIPTEN_KEEPALIVE bool Matches(const String& location, int typeMask,
DependentString& docDomain, bool thirdParty, const String& sitekey) const;
};

Powered by Google App Engine
This is Rietveld