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

Unified Diff: compiled/filter/ElemHideBase.h

Issue 29580558: Issue 5174 - Allow '{' and '}' in selectors (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: adressed comments Created Oct. 18, 2017, 12:53 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 | « no previous file | compiled/filter/ElemHideBase.cpp » ('j') | compiled/filter/ElemHideBase.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/filter/ElemHideBase.h
===================================================================
--- a/compiled/filter/ElemHideBase.h
+++ b/compiled/filter/ElemHideBase.h
@@ -56,15 +56,11 @@
class ElemHideBase : public ActiveFilter
{
protected:
ElemHideData mData;
public:
explicit ElemHideBase(Type type, const String& text, const ElemHideData& data);
static Type Parse(DependentString& text, ElemHideData& data);
- const DependentString BINDINGS_EXPORTED GetSelector() const
- {
- return mData.GetSelector(mText);
- }
-
+ OwnedString BINDINGS_EXPORTED GetSelector() const;
OwnedString BINDINGS_EXPORTED GetSelectorDomain() const;
};
« no previous file with comments | « no previous file | compiled/filter/ElemHideBase.cpp » ('j') | compiled/filter/ElemHideBase.cpp » ('J')

Powered by Google App Engine
This is Rietveld