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

Unified Diff: src/FilterEngine.cpp

Issue 29538636: Issue 5639 - Fix filter type TYPE_TYPE_ELEMHIDE_EMULATION to be TYPE_ELEMHIDE_EMULATION (Closed) Base URL: https://hg.adblockplus.org/libadblockplus/
Patch Set: Created Sept. 7, 2017, 2:50 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
« no previous file with comments | « include/AdblockPlus/FilterEngine.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/FilterEngine.cpp
===================================================================
--- a/src/FilterEngine.cpp
+++ b/src/FilterEngine.cpp
@@ -68,17 +68,17 @@
return TYPE_BLOCKING;
else if (className == "WhitelistFilter")
return TYPE_EXCEPTION;
else if (className == "ElemHideFilter")
return TYPE_ELEMHIDE;
else if (className == "ElemHideException")
return TYPE_ELEMHIDE_EXCEPTION;
else if (className == "ElemHideEmulationFilter")
- return TYPE_TYPE_ELEMHIDE_EMULATION;
+ return TYPE_ELEMHIDE_EMULATION;
else if (className == "CommentFilter")
return TYPE_COMMENT;
else
return TYPE_INVALID;
}
bool Filter::IsListed() const
{
« no previous file with comments | « include/AdblockPlus/FilterEngine.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld