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

Unified Diff: src/plugin/PluginTabBase.cpp

Issue 4784041706389504: Issue 1183 - Fix Acceptable Ads hiding (Closed)
Patch Set: Created Aug. 8, 2014, 3:51 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
Index: src/plugin/PluginTabBase.cpp
===================================================================
--- a/src/plugin/PluginTabBase.cpp
+++ b/src/plugin/PluginTabBase.cpp
@@ -185,7 +185,10 @@
#ifdef SUPPORT_DOM_TRAVERSER
if (!CPluginClient::GetInstance()->IsWhitelistedUrl(std::wstring(GetDocumentUrl())))
{
- m_traverser->TraverseDocument(browser, GetDocumentDomain(), GetDocumentUrl());
+ if (CPluginClient::GetInstance()->HidingEnabledOnDomain(std::wstring(GetDocumentUrl())))
Felix Dahlke 2014/08/08 16:11:35 Oh noes, the arrow pattern! :D Can you merge this
+ {
+ m_traverser->TraverseDocument(browser, GetDocumentDomain(), GetDocumentUrl());
+ }
}
#endif // SUPPORT_DOM_TRAVERSER

Powered by Google App Engine
This is Rietveld