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: Created July 29, 2014, 2:45 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::InstalledMajorVersion() > 6)
{
RECT rect;
BOOL rectRes = GetClientRect(m_hStatusBarWnd, &rect);
@@ -843,8 +844,7 @@
}
}
-
- int ieVersion = CPluginClient::GetInstance()->GetIEVersion();
+ int ieVersion = AdblockPlus::IE::InstalledMajorVersion();
// Create status pane
if (bBHO && ieVersion > 6 && !CreateStatusBarPane())
{

Powered by Google App Engine
This is Rietveld