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 73554bd1129d431ff4b1f4a4087f01b7a907a1d7..12ca191a9fd06f266464af7af1ebfb9315229b55 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp |
@@ -618,11 +618,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( |