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

Unified Diff: src/plugin/AdblockPlusClient.cpp

Issue 29334386: Issue #2230 - Refactor filter life cycle and use
Patch Set: Created Jan. 22, 2016, 5:57 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 | « src/plugin/AdblockPlusClient.h ('k') | src/plugin/AdblockPlusDomTraverser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/AdblockPlusClient.cpp
===================================================================
--- a/src/plugin/AdblockPlusClient.cpp
+++ b/src/plugin/AdblockPlusClient.cpp
@@ -244,17 +244,6 @@
return isBlocked;
}
-bool CAdblockPlusClient::IsElementHidden(const std::wstring& tag, IHTMLElement* pEl, const std::wstring& domain, const std::wstring& indent, CPluginFilter* filter)
-{
- bool isHidden;
- m_criticalSectionFilter.Lock();
- {
- isHidden = filter && filter->IsElementHidden(tag, pEl, domain, indent);
- }
- m_criticalSectionFilter.Unlock();
- return isHidden;
-}
-
bool CAdblockPlusClient::IsWhitelistedUrl(const std::wstring& url, const std::vector<std::string>& frameHierarchy)
{
return !GetWhitelistingFilter(url, frameHierarchy).empty();
« no previous file with comments | « src/plugin/AdblockPlusClient.h ('k') | src/plugin/AdblockPlusDomTraverser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld