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

Unified Diff: third_party/WebKit/Source/platform/network/ResourceRequest.cpp

Issue 2128503002: Set 'ResourceRequest::requestorOrigin' in Blink. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yay Created 4 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
Index: third_party/WebKit/Source/platform/network/ResourceRequest.cpp
diff --git a/third_party/WebKit/Source/platform/network/ResourceRequest.cpp b/third_party/WebKit/Source/platform/network/ResourceRequest.cpp
index c05ad61869bafa944c2bbae7b8b150d9e23529b1..4743fb895d1331dd6b4e8f0f2ad907f351d5bf4f 100644
--- a/third_party/WebKit/Source/platform/network/ResourceRequest.cpp
+++ b/third_party/WebKit/Source/platform/network/ResourceRequest.cpp
@@ -429,7 +429,7 @@ void ResourceRequest::initialize(const KURL& url)
m_isExternalRequest = false;
m_inputPerfMetricReportPolicy = InputToLoadPerfMetricReportPolicy::NoReport;
m_redirectStatus = RedirectStatus::NoRedirect;
- m_requestorOrigin = SecurityOrigin::createUnique();
+ m_requestorOrigin = nullptr;
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698