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

Unified Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 339593005: Set the target type when creating the request for main resource (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Switched to constructors Created 6 years, 6 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/platform/network/ResourceRequest.cpp ('k') | Source/web/WebEmbeddedWorkerImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/FrameLoaderClientImpl.cpp
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
index bafedb8e47cc4408983d1fb564fb80975ef379f7..ce5cf73ee44fe550856cb830b36caac9e80519d0 100644
--- a/Source/web/FrameLoaderClientImpl.cpp
+++ b/Source/web/FrameLoaderClientImpl.cpp
@@ -604,8 +604,8 @@ PassRefPtr<LocalFrame> FrameLoaderClientImpl::createFrame(
const Referrer& referrer,
HTMLFrameOwnerElement* ownerElement)
{
- FrameLoadRequest frameRequest(m_webFrame->frame()->document(),
- ResourceRequest(url, referrer), name);
+ ResourceRequest request = ResourceRequest(url, false, referrer);
+ FrameLoadRequest frameRequest(m_webFrame->frame()->document(), request, name);
return m_webFrame->createChildFrame(frameRequest, ownerElement);
}
« no previous file with comments | « Source/platform/network/ResourceRequest.cpp ('k') | Source/web/WebEmbeddedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698