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

Unified Diff: content/browser/download/download_resource_handler.cc

Issue 9317018: referrer_charset is a lie. It's really the user's default_charset. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 11 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: content/browser/download/download_resource_handler.cc
===================================================================
--- content/browser/download/download_resource_handler.cc (revision 119865)
+++ content/browser/download/download_resource_handler.cc (working copy)
@@ -140,7 +140,7 @@
info->prompt_user_for_save_location =
save_info_.prompt_for_save_location && save_info_.file_path.empty();
- info->referrer_charset = request_->context()->referrer_charset();
+ info->default_charset = request_->context()->default_charset();
info->save_info = save_info_;
« no previous file with comments | « content/browser/download/download_manager_impl_unittest.cc ('k') | content/browser/download/mock_download_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698