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

Unified Diff: compiled/filter/ElemHideEmulationFilter.h

Issue 29574591: Issue 5258 - Implement Filter::As<>() method to make working with filters easier from C++ code (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Use static classType member Created Oct. 13, 2017, 11:40 a.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/ElemHideEmulationFilter.h
===================================================================
--- a/compiled/filter/ElemHideEmulationFilter.h
+++ b/compiled/filter/ElemHideEmulationFilter.h
@@ -20,11 +20,12 @@
#include <cstddef>
#include "Filter.h"
#include "ElemHideBase.h"
class ElemHideEmulationFilter : public ElemHideBase
{
public:
+ static constexpr Type classType = Type::ELEMHIDEEMULATION;
explicit ElemHideEmulationFilter(const String& text,
const ElemHideData& data);
};

Powered by Google App Engine
This is Rietveld