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

Unified Diff: src/plugin/PluginTabBase.cpp

Issue 5171515343503360: Issue #41 - Bring method of determining IE version up to date (Closed)
Patch Set: Created July 30, 2014, 1 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
@@ -11,6 +11,7 @@
#include "PluginTabBase.h"
#include "PluginUtil.h"
+#include "../shared/IE_version.h"
#include <dispex.h>
#include <Mshtmhst.h>
@@ -36,7 +37,7 @@
m_filter->hideFiltersLoadedEvent = CreateEvent(NULL, true, false, NULL);
CPluginClient* client = CPluginClient::GetInstance();
- if (client->GetIEVersion() < 10)
+ if (AdblockPlus::IE::InstalledMajorVersion() < 10)
{
m_isActivated = true;
}

Powered by Google App Engine
This is Rietveld