| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 #include "CSSPropertyFilter.h" | 
|  | 2 #include "RegExpFilter.h" | 
|  | 3 | 
|  | 4 CSSPropertyFilter::CSSPropertyFilter(const String& text, | 
|  | 5     String::size_type domainsEnd, String::size_type selectorStart, | 
|  | 6     String::size_type prefixEnd, String::size_type regexpStart, | 
|  | 7     String::size_type regexpEnd, String::size_type suffixStart) | 
|  | 8     : ElemHideBase(text, domainsEnd, selectorStart), | 
|  | 9       mPrefix(String(mText, selectorStart, prefixEnd - selectorStart)), | 
|  | 10       mSuffix(String(mText, suffixStart)), | 
|  | 11       mRegexpSource(String(mText, regexpStart, regexpEnd - regexpStart)) | 
|  | 12 { | 
|  | 13   if (IsGeneric()) | 
|  | 14     throw u"No active domain specified for CSS property filter"_str; | 
|  | 15 } | 
|  | 16 | 
|  | 17 Filter::Type CSSPropertyFilter::GetType() const | 
|  | 18 { | 
|  | 19   return Type::CSSPROPERTY; | 
|  | 20 } | 
|  | 21 | 
|  | 22 String CSSPropertyFilter::GetRegExpString() const | 
|  | 23 { | 
|  | 24   return RegExpFilter::RegExpFromSource(mRegexpSource); | 
|  | 25 } | 
| OLD | NEW | 
|---|