Index: src/plugin/AdblockPlusClient.cpp |
diff --git a/src/plugin/AdblockPlusClient.cpp b/src/plugin/AdblockPlusClient.cpp |
index 656bcfe255bcb1b54ed222369f2d2538df0dcdf3..30d16bbe5349c6b21b1bd64411bcf35eeaa2b362 100644 |
--- a/src/plugin/AdblockPlusClient.cpp |
+++ b/src/plugin/AdblockPlusClient.cpp |
@@ -244,17 +244,6 @@ bool CAdblockPlusClient::ShouldBlock(const std::wstring& src, AdblockPlus::Filte |
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(); |