| Index: src/plugin/PluginWbPassThrough.cpp |
| =================================================================== |
| --- a/src/plugin/PluginWbPassThrough.cpp |
| +++ b/src/plugin/PluginWbPassThrough.cpp |
| @@ -11,6 +11,7 @@ |
| #include "PluginSystem.h" |
| #include "Wrapper.h" |
| #include "PluginUtil.h" |
| +#include "../shared/Utils.h" |
| #include "wtypes.h" |
| @@ -103,7 +104,7 @@ |
| { |
| // No referer or mime type |
| // BINDSTRING_XDR_ORIGIN works only for IE v8+ |
| - if (mimeType.empty() && domain.empty() && CPluginClient::GetInstance()->GetIEVersion() >= 8) |
| + if (mimeType.empty() && domain.empty() && ABP::IE::installed_major_version() >= 8) |
| { |
| return CFilter::contentTypeXmlHttpRequest; |
| } |
| @@ -223,7 +224,7 @@ |
| #endif |
| //Fixes the iframe back button issue |
| - if (client->GetIEVersion() > 6) |
| + if (ABP::IE::installed_major_version() > 6) |
| { |
| if ((contentType == CFilter::contentTypeImage) && (isBlocked)) |
| { |