| 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(); |