0

Fix crash in PPB_FileChooser_Dev proxy.

BUG=100419
TEST=manual
Review URL: http://codereview.chromium.org/8298017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105891 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
bbudge@google.com
2011-10-17 20:17:44 +00:00
parent 04a5ef8f99
commit 33d73079fa

@ -125,7 +125,7 @@ int32_t FileChooser::Show(bool require_user_gesture,
INTERFACE_ID_PPB_FILE_CHOOSER,
host_resource(),
save_as,
suggested_file_name,
suggested_file_name ? suggested_file_name : "",
require_user_gesture));
return PP_OK_COMPLETIONPENDING;
}
@ -191,7 +191,7 @@ PP_Resource PPB_FileChooser_Proxy::CreateProxyResource(
dispatcher->Send(new PpapiHostMsg_PPBFileChooser_Create(
INTERFACE_ID_PPB_FILE_CHOOSER, instance,
mode,
accept_mime_types,
accept_mime_types ? accept_mime_types : "",
&result));
if (result.is_null())