summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/proxy/ppb_file_chooser_proxy.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/ppapi/proxy/ppb_file_chooser_proxy.cc b/ppapi/proxy/ppb_file_chooser_proxy.cc
index 9c997fb..c89c36a 100644
--- a/ppapi/proxy/ppb_file_chooser_proxy.cc
+++ b/ppapi/proxy/ppb_file_chooser_proxy.cc
@@ -77,7 +77,9 @@ PP_Resource Create(PP_Instance instance,
HostResource result;
dispatcher->Send(new PpapiHostMsg_PPBFileChooser_Create(
INTERFACE_ID_PPB_FILE_CHOOSER, instance,
- options->mode, options->accept_mime_types, &result));
+ options->mode,
+ options->accept_mime_types ? options->accept_mime_types : std::string(),
+ &result));
if (result.is_null())
return 0;