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

Unified Diff: trunk/Source/core/html/parser/HTMLResourcePreloader.cpp

Issue 418783002: Revert 178571 "Teach ContentSecurityPolicy about WebURLRequest::..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 5 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 | « trunk/Source/core/frame/csp/ContentSecurityPolicy.cpp ('k') | trunk/Source/core/loader/ImageLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/core/html/parser/HTMLResourcePreloader.cpp
===================================================================
--- trunk/Source/core/html/parser/HTMLResourcePreloader.cpp (revision 178796)
+++ trunk/Source/core/html/parser/HTMLResourcePreloader.cpp (working copy)
@@ -32,7 +32,6 @@
#include "core/html/imports/HTMLImport.h"
#include "core/rendering/RenderObject.h"
#include "public/platform/Platform.h"
-#include "public/platform/WebURLRequest.h"
namespace blink {
@@ -56,7 +55,6 @@
initiatorInfo.name = AtomicString(m_initiatorName);
initiatorInfo.position = m_initiatorPosition;
FetchRequest request(ResourceRequest(completeURL(document)), initiatorInfo);
- request.mutableResourceRequest().setRequestContext(blink::WebURLRequest::RequestContextPrefetch);
if (m_isCORSEnabled)
request.setCrossOriginAccessControl(document->securityOrigin(), m_allowCredentials);
« no previous file with comments | « trunk/Source/core/frame/csp/ContentSecurityPolicy.cpp ('k') | trunk/Source/core/loader/ImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698