Index: third_party/WebKit/Source/core/loader/PingLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/PingLoader.cpp b/third_party/WebKit/Source/core/loader/PingLoader.cpp |
index 263f3db17995dbdda619a87e16babba73b8faa43..02885150c650c5ba5b3a3154e8f6dad39f990181 100644 |
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp |
@@ -479,11 +479,6 @@ bool SendBeaconCommon(LocalFrame* frame, |
} // namespace |
void PingLoader::LoadImage(LocalFrame* frame, const KURL& url) { |
- if (!frame->GetDocument()->GetSecurityOrigin()->CanDisplay(url)) { |
- FrameLoader::ReportLocalLoadFailed(frame, url.GetString()); |
- return; |
- } |
- |
ResourceRequest request(url); |
request.SetHTTPHeaderField(HTTPNames::Cache_Control, "max-age=0"); |
FinishPingRequestInitialization(request, frame, |