Index: Shared/PluginFilter.cpp |
=================================================================== |
--- a/Shared/PluginFilter.cpp |
+++ b/Shared/PluginFilter.cpp |
@@ -803,7 +803,6 @@ |
} |
CPluginClient* client = CPluginClient::GetInstance(); |
- AdblockPlus::FilterEngine* filterEngine = client->GetFilterEngine(); |
//TODO: Make sure if the content type names are in sync with libadblockplus |
std::string contentTypeString = CT2A(type, CP_UTF8); |
@@ -813,7 +812,7 @@ |
std::string domainMb = CT2CA(domain); |
- if (filterEngine->Matches(url, contentTypeString, domainMb)) |
+ if (client->Matches(url, contentTypeString, domainMb)) |
{ |
if (addDebug) |
{ |