Index: src/plugin/PluginWbPassThrough.cpp |
=================================================================== |
--- a/src/plugin/PluginWbPassThrough.cpp |
+++ b/src/plugin/PluginWbPassThrough.cpp |
@@ -9,7 +9,7 @@ |
#include "PluginSettings.h" |
#include "PluginClass.h" |
#include "PluginSystem.h" |
- |
+#include "../shared/IE_version.h" |
#include "wtypes.h" |
EXTERN_C IMAGE_DOS_HEADER __ImageBase; |
@@ -96,7 +96,7 @@ |
{ |
// No referer or mime type |
// BINDSTRING_XDR_ORIGIN works only for IE v8+ |
- if (mimeType.IsEmpty() && domain.IsEmpty() && CPluginClient::GetInstance()->GetIEVersion() >= 8) |
+ if (mimeType.IsEmpty() && domain.IsEmpty() && AdblockPlus::IE::InstalledMajorVersion() >= 8) |
{ |
return CFilter::contentTypeXmlHttpRequest; |
} |
@@ -235,7 +235,7 @@ |
#endif |
//Fixes the iframe back button issue |
- if (client->GetIEVersion() > 6) |
+ if (AdblockPlus::IE::InstalledMajorVersion() > 6) |
{ |
if ((contentType == CFilter::contentTypeImage) && (isBlocked)) |
{ |