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

Unified Diff: src/plugin/PluginClass.cpp

Issue 5171515343503360: Issue #41 - Bring method of determining IE version up to date (Closed)
Patch Set: simplify Registry_Key Created July 26, 2014, 5 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/PluginClass.cpp
===================================================================
--- a/src/plugin/PluginClass.cpp
+++ b/src/plugin/PluginClass.cpp
@@ -15,6 +15,7 @@
#include "PluginUserSettings.h"
#include "../shared/Utils.h"
#include "../shared/Dictionary.h"
+#include "../shared/IE_version.h"
#include <thread>
#ifdef DEBUG_HIDE_EL
@@ -684,7 +685,7 @@
}
else
{
- if (CPluginClient::GetInstance()->GetIEVersion() > 6)
+ if (AdblockPlus::IE::installed_major_version() > 6)
{
RECT rect;
BOOL rectRes = GetClientRect(m_hStatusBarWnd, &rect);
@@ -843,8 +844,7 @@
}
}
-
- int ieVersion = CPluginClient::GetInstance()->GetIEVersion();
+ int ieVersion = AdblockPlus::IE::installed_major_version();
// Create status pane
if (bBHO && ieVersion > 6 && !CreateStatusBarPane())
{

Powered by Google App Engine
This is Rietveld