| Index: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| index a13bf3da0f7640c0a50f0c69a86817f13d1c43c4..ee6d324fe3dbacd19fe1e53a068af1ecfa66da3b 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| @@ -49,6 +49,7 @@
|
| #include "platform/MIMETypeFromURL.h"
|
| #include "platform/MIMETypeRegistry.h"
|
| #include "platform/Widget.h"
|
| +#include "platform/network/ResourceRequest.h"
|
| #include "platform/plugins/PluginData.h"
|
| #include "public/platform/WebURLRequest.h"
|
|
|
| @@ -567,7 +568,7 @@ bool HTMLPlugInElement::allowedToLoadObject(const KURL& url, const String& mimeT
|
| }
|
| // If the URL is empty, a plugin could still be instantiated if a MIME-type
|
| // is specified.
|
| - return (!mimeType.isEmpty() && url.isEmpty()) || !MixedContentChecker::shouldBlockFetch(frame, WebURLRequest::RequestContextObject, WebURLRequest::FrameTypeNone, url);
|
| + return (!mimeType.isEmpty() && url.isEmpty()) || !MixedContentChecker::shouldBlockFetch(frame, WebURLRequest::RequestContextObject, WebURLRequest::FrameTypeNone, ResourceRequest::RedirectStatus::NoRedirect, url);
|
| }
|
|
|
| bool HTMLPlugInElement::allowedToLoadPlugin(const KURL& url, const String& mimeType)
|
|
|