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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentThreadableLoader.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/DocumentThreadableLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
index f209bbf18b1b3d75e2ad19047741084e9cb07baf..c5c8920707bf514f3416c356622eff7f0d3a801f 100644
--- a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
@@ -960,7 +960,7 @@ StoredCredentials DocumentThreadableLoader::effectiveAllowCredentials() const
return m_resourceLoaderOptions.allowCredentials;
}
-SecurityOrigin* DocumentThreadableLoader::getSecurityOrigin() const
+const SecurityOrigin* DocumentThreadableLoader::getSecurityOrigin() const
{
return m_securityOrigin ? m_securityOrigin.get() : document().getSecurityOrigin();
}

Powered by Google App Engine
This is Rietveld 408576698