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 8dcdf80c71cd0b9e54ee82a75795f2111e0cfc18..b92ac1bcfeb61c2c162d02c210672c1e7cc8a79a 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp |
@@ -620,11 +620,6 @@ bool HTMLPlugInElement::AllowedToLoadObject(const KURL& url, |
if (MIMETypeRegistry::IsJavaAppletMIMEType(mime_type)) |
return false; |
- if (!GetDocument().GetSecurityOrigin()->CanDisplay(url)) { |
- FrameLoader::ReportLocalLoadFailed(frame, url.GetString()); |
- return false; |
- } |
- |
AtomicString declared_mime_type = FastGetAttribute(HTMLNames::typeAttr); |
if (!GetDocument().GetContentSecurityPolicy()->AllowObjectFromSource(url) || |
!GetDocument().GetContentSecurityPolicy()->AllowPluginTypeForDocument( |