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

Unified Diff: src/plugin/PluginClass.cpp

Issue 5168444685156352: Issue 1201 - Enabling/disabling ABP everywhere applies only in the next opened tab (Closed)
Patch Set: Only fix the issue, no refactoring Created April 13, 2015, 3:30 a.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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginClass.cpp
===================================================================
--- a/src/plugin/PluginClass.cpp
+++ b/src/plugin/PluginClass.cpp
@@ -485,11 +485,6 @@
std::wstring url(urlVariant->bstrVal, SysStringLen(urlVariant->bstrVal));
UnescapeUrl(url);
- //Register a mime filter if it's not registered yet
- if (s_mimeFilter == nullptr)
- {
- s_mimeFilter = CPluginClientFactory::GetMimeFilterClientInstance();
- }
// If webbrowser2 is equal to top level browser (as set in SetSite), we are
// navigating new page
CPluginClient* client = CPluginClient::GetInstance();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld