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

Side by Side Diff: compiled/ElemHideEmulationFilter.cpp

Issue 29383799: Issue 4988 - [emscripten] Adjust API for Element Hiding Emulation filters (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created March 14, 2017, 2:42 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 #include "CSSPropertyFilter.h" 1 #include "ElemHideEmulationFilter.h"
2 #include "RegExpFilter.h"
3 2
4 CSSPropertyFilter::CSSPropertyFilter(const String& text, 3 ElemHideEmulationFilter::ElemHideEmulationFilter(const String& text,
5 const ElemHideData& data) 4 const ElemHideData& data)
6 : ElemHideBase(Type::CSSPROPERTY, text, data), mPropertyData(data) 5 : ElemHideBase(Type::ELEMHIDEEMULATION, text, data)
7 { 6 {
8 } 7 }
9
10 OwnedString CSSPropertyFilter::GetRegExpString() const
11 {
12 return RegExpFilter::RegExpFromSource(mPropertyData.GetRegExpSource(mText));
13 }
OLDNEW

Powered by Google App Engine
This is Rietveld