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: Final (?) 2 Created Jan. 5, 2015, 1:02 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
@@ -13,6 +13,7 @@
#include "PluginUserSettings.h"
#include "../shared/Utils.h"
#include "../shared/Dictionary.h"
+#include "../shared/IE_version.h"
#include <thread>
#include <array>
@@ -683,7 +684,7 @@
}
else
{
- if (CPluginClient::GetInstance()->GetIEVersion() > 6)
+ if (AdblockPlus::IE::InstalledMajorVersion() > 6)
{
RECT rect;
BOOL rectRes = GetClientRect(m_hStatusBarWnd, &rect);
@@ -850,8 +851,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