Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Unified Diff: Source/WebCore/loader/cache/CachedResourceRequest.cpp

Issue 8002026: Merge 95580 - Invoke CachedResourceLoader::canRequest for all URLs in a redirect chain (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/loader/cache/CachedResourceLoader.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/loader/cache/CachedResourceRequest.cpp
===================================================================
--- Source/WebCore/loader/cache/CachedResourceRequest.cpp (revision 95811)
+++ Source/WebCore/loader/cache/CachedResourceRequest.cpp (working copy)
@@ -139,7 +139,7 @@
void CachedResourceRequest::willSendRequest(SubresourceLoader* loader, ResourceRequest& req, const ResourceResponse&)
{
- if (!m_cachedResourceLoader->checkInsecureContent(m_resource->type(), req.url())) {
+ if (!m_cachedResourceLoader->canRequest(m_resource->type(), req.url())) {
loader->cancel();
return;
}
« no previous file with comments | « Source/WebCore/loader/cache/CachedResourceLoader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698