summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-18 22:55:09 +0000
committerjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-18 22:55:09 +0000
commitcc099a3a5e644bfff00db13b9a97b43267118080 (patch)
treea0acac0bff6b206bab061fd6480cf9b11ebca4df /webkit/glue
parent58753dcfeb72a64d32443217e6afc7fa73d2e34b (diff)
downloadchromium_src-cc099a3a5e644bfff00db13b9a97b43267118080.zip
chromium_src-cc099a3a5e644bfff00db13b9a97b43267118080.tar.gz
chromium_src-cc099a3a5e644bfff00db13b9a97b43267118080.tar.bz2
Fix bug 79905: Drag and drop of "DownloadURL" type ignores specified filename for data URLs.
BUG=79905 TEST=Manual test and unittest added for net::GetSuggestedFilename Review URL: http://codereview.chromium.org/7005011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85831 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/weburlloader_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/weburlloader_impl.cc b/webkit/glue/weburlloader_impl.cc
index 9105157..0a874d0 100644
--- a/webkit/glue/weburlloader_impl.cc
+++ b/webkit/glue/weburlloader_impl.cc
@@ -259,7 +259,7 @@ void PopulateURLResponse(
std::string value;
if (headers->EnumerateHeader(NULL, "content-disposition", &value)) {
response->setSuggestedFileName(
- net::GetSuggestedFilename(url, value, "", string16()));
+ net::GetSuggestedFilename(url, value, "", "", string16()));
}
Time time_val;