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 bee375f732ad8ddc1d221824af28670af6667ed7..91b1f79ae316d06c5b6ffd5ed3e7b624bb013496 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
@@ -336,11 +336,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; |