summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-28 22:30:20 +0000
committertsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-28 22:30:20 +0000
commitee2d6a666d89ec62e3434c546c9a82f02e5b8745 (patch)
treedc9f8f5adadd72e9801432e2bb4dd52c54d52d1a
parent005ce86e3d487d1e09472852e37da944a5460b25 (diff)
downloadchromium_src-ee2d6a666d89ec62e3434c546c9a82f02e5b8745.zip
chromium_src-ee2d6a666d89ec62e3434c546c9a82f02e5b8745.tar.gz
chromium_src-ee2d6a666d89ec62e3434c546c9a82f02e5b8745.tar.bz2
Merge 143647 - make PPAPI file chooser use suggested file name when present.
bug=109814 Review URL: https://chromiumcodereview.appspot.com/10634012 TBR=tsepez@chromium.org Review URL: https://chromiumcodereview.appspot.com/10700025 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@144816 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--ppapi/proxy/ppb_file_chooser_proxy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/proxy/ppb_file_chooser_proxy.cc b/ppapi/proxy/ppb_file_chooser_proxy.cc
index c7d7a74..8bf83da 100644
--- a/ppapi/proxy/ppb_file_chooser_proxy.cc
+++ b/ppapi/proxy/ppb_file_chooser_proxy.cc
@@ -115,7 +115,7 @@ int32_t FileChooser::ShowWithoutUserGesture(
PP_Var suggested_file_name,
const PP_ArrayOutput& output,
const PP_CompletionCallback& callback) {
- int32_t result = Show(false, save_as, PP_MakeUndefined(), callback);
+ int32_t result = Show(false, save_as, suggested_file_name, callback);
if (result == PP_OK_COMPLETIONPENDING)
output_.set_pp_array_output(output);
return result;