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

Side by Side Diff: compiled/CSSPropertyFilter.cpp

Issue 29333474: Issue 4125 - [emscripten] Convert filter classes to C++ (Closed)
Patch Set: Addressed Sergei`s comments again and added some asserts Created Feb. 23, 2016, 12:30 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
(Empty)
1 #include "CSSPropertyFilter.h"
2 #include "RegExpFilter.h"
3
4 CSSPropertyFilter::CSSPropertyFilter(const String& text,
5 const ElemHideData& data)
6 : ElemHideBase(text, data), CSSPropertyFilterData(data)
7 {
8 }
9
10 Filter::Type CSSPropertyFilter::GetType() const
11 {
12 return Type::CSSPROPERTY;
13 }
14
15 OwnedString CSSPropertyFilter::GetRegExpString() const
16 {
17 return RegExpFilter::RegExpFromSource(GetRegExpSource(mText));
18 }
OLDNEW

Powered by Google App Engine
This is Rietveld