summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi')
-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;