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

Unified Diff: src/plugin/PluginWbPassThrough.cpp

Issue 5171515343503360: Issue #41 - Bring method of determining IE version up to date (Closed)
Patch Set: Second version Created June 25, 2014, 6:53 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/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))
{

Powered by Google App Engine
This is Rietveld