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

Unified Diff: Shared/PluginFilter.cpp

Issue 10580043: Run a single FilterEngine instance in a separate process (Closed)
Patch Set: Addressed review issues Created May 23, 2013, 7:10 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 | « Shared/AdblockPlusClient.cpp ('k') | Shared/PluginSettings.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
{
« no previous file with comments | « Shared/AdblockPlusClient.cpp ('k') | Shared/PluginSettings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld