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

Unified Diff: webkit/glue/dom_operations.cc

Issue 10387090: Pass the referrer policy with the referrer for the save package code path (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 7 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: webkit/glue/dom_operations.cc
diff --git a/webkit/glue/dom_operations.cc b/webkit/glue/dom_operations.cc
index 9468f2bc45b298f7f88d1bde10dbee91e02e0693..9937a2cd71af5ce73ce4e95465fe6b7a1f57b790 100644
--- a/webkit/glue/dom_operations.cc
+++ b/webkit/glue/dom_operations.cc
@@ -98,7 +98,8 @@ void GetSavableResourceLinkForElement(
return;
result->resources_list->push_back(u);
// Insert referrer for above new resource link.
- result->referrers_list->push_back(GURL());
+ result->referrer_urls_list->push_back(GURL());
+ result->referrer_policies_list->push_back(WebKit::WebReferrerPolicyDefault);
}
// Get all savable resource links from current WebFrameImpl object pointer.

Powered by Google App Engine
This is Rietveld 408576698