Index: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
index 8cdc71dbe282ba0e2de74b79f04fa3e3970d9dab..cb56a1bb7f6505e3bde9b3123eec94ae7fe303b3 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
@@ -339,11 +339,6 @@ bool HTMLFrameOwnerElement::LoadOrRedirectSubframe( |
return true; |
} |
- if (!GetDocument().GetSecurityOrigin()->CanDisplay(url)) { |
- FrameLoader::ReportLocalLoadFailed(parent_frame, url.GetString()); |
- return false; |
- } |
- |
if (!SubframeLoadingDisabler::CanLoadFrame(*this)) |
return false; |