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

Unified Diff: third_party/WebKit/Source/core/loader/FrameFetchContext.cpp

Issue 2264503002: Clean up SecurityOrigin handling around CrossOriginAccessControl::handleRedirect() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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
Index: third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
index 59a785d26076b83b3a40b3a0fa379acbf84017d2..b9dcc40ac5785f6f53ab42b578be7bab4e3deb51 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
@@ -192,7 +192,7 @@ void FrameFetchContext::addAdditionalRequestHeaders(ResourceRequest& request, Fe
outgoingOrigin = SecurityOrigin::createFromString(request.httpReferrer());
}
- request.addHTTPOriginIfNeeded(outgoingOrigin);
+ request.addHTTPOriginIfNeeded(outgoingOrigin.get());
}
if (m_document)

Powered by Google App Engine
This is Rietveld 408576698