From ee2d6a666d89ec62e3434c546c9a82f02e5b8745 Mon Sep 17 00:00:00 2001 From: "tsepez@chromium.org" Date: Thu, 28 Jun 2012 22:30:20 +0000 Subject: 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 --- ppapi/proxy/ppb_file_chooser_proxy.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ppapi') 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; -- cgit v1.1