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

Unified Diff: Source/core/loader/PingLoader.cpp

Issue 1299493003: Attach mixed content status to resource requests when sent to devtools (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: isMixedContent() -> ContextTypeNotMixedContent, and rename devtools protocol enum Created 5 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: Source/core/loader/PingLoader.cpp
diff --git a/Source/core/loader/PingLoader.cpp b/Source/core/loader/PingLoader.cpp
index d0b669fb8c9efd825ac6e7746173d420ee0568e4..a134b19160e1759180f9810535232dcece3902bf 100644
--- a/Source/core/loader/PingLoader.cpp
+++ b/Source/core/loader/PingLoader.cpp
@@ -125,7 +125,7 @@ void PingLoader::sendViolationReport(LocalFrame* frame, const KURL& reportURL, P
void PingLoader::start(LocalFrame* frame, ResourceRequest& request, const FetchInitiatorInfo& initiatorInfo, StoredCredentials credentialsAllowed)
{
- if (MixedContentChecker::shouldBlockFetch(frame, request, request.url()))
+ if (MixedContentChecker::shouldBlockFetch(frame, &request, request.url()))
return;
// Leak the ping loader, since it will kill itself as soon as it receives a response.

Powered by Google App Engine
This is Rietveld 408576698