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

Unified Diff: third_party/WebKit/Source/core/fetch/ResourceLoader.cpp

Issue 2572373003: Loading: pass minimum information to Resource::resourceTypeToString() (Closed)
Patch Set: review #9 #11 Created 4 years 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 | « third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/fetch/ResourceLoader.cpp
diff --git a/third_party/WebKit/Source/core/fetch/ResourceLoader.cpp b/third_party/WebKit/Source/core/fetch/ResourceLoader.cpp
index 16f8e702d66df2726baa13430c9ee5c85d8f4ee2..dc438c8e512153a3b79514f12ecc1bc7a9c7ce1f 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceLoader.cpp
+++ b/third_party/WebKit/Source/core/fetch/ResourceLoader.cpp
@@ -287,7 +287,7 @@ ResourceRequestBlockedReason ResourceLoader::canAccessResponse(
resource->setCORSFailed();
if (!forPreload) {
String resourceType = Resource::resourceTypeToString(
- resource->getType(), resource->options().initiatorInfo);
+ resource->getType(), resource->options().initiatorInfo.name);
context().addConsoleMessage(
"Access to " + resourceType + " at '" + response.url().getString() +
"' from origin '" + sourceOrigin->toString() +
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698