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

Unified 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.
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/ElemHideEmulationFilter.cpp
===================================================================
rename from compiled/CSSPropertyFilter.cpp
rename to compiled/ElemHideEmulationFilter.cpp
--- a/compiled/CSSPropertyFilter.cpp
+++ b/compiled/ElemHideEmulationFilter.cpp
@@ -1,13 +1,7 @@
-#include "CSSPropertyFilter.h"
-#include "RegExpFilter.h"
+#include "ElemHideEmulationFilter.h"
-CSSPropertyFilter::CSSPropertyFilter(const String& text,
+ElemHideEmulationFilter::ElemHideEmulationFilter(const String& text,
const ElemHideData& data)
- : ElemHideBase(Type::CSSPROPERTY, text, data), mPropertyData(data)
+ : ElemHideBase(Type::ELEMHIDEEMULATION, text, data)
{
}
-
-OwnedString CSSPropertyFilter::GetRegExpString() const
-{
- return RegExpFilter::RegExpFromSource(mPropertyData.GetRegExpSource(mText));
-}

Powered by Google App Engine
This is Rietveld