| OLD | NEW |
| 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 } | |
| OLD | NEW |