Index: ppapi/proxy/file_chooser_resource.cc |
diff --git a/ppapi/proxy/file_chooser_resource.cc b/ppapi/proxy/file_chooser_resource.cc |
index f41ade58b8a87d93c3bd2ccf74184a3e820eb694..5c110125d07c1ff1c9234979c30c5eb0152338b8 100644 |
--- a/ppapi/proxy/file_chooser_resource.cc |
+++ b/ppapi/proxy/file_chooser_resource.cc |
@@ -130,7 +130,7 @@ int32_t FileChooserResource::ShowInternal( |
return PP_ERROR_INPROGRESS; |
if (!sent_create_to_renderer()) |
- SendCreateToRenderer(PpapiHostMsg_FileChooser_Create()); |
+ SendCreate(RENDERER, PpapiHostMsg_FileChooser_Create()); |
callback_ = callback; |
StringVar* sugg_str = StringVar::FromPPVar(suggested_file_name); |
@@ -140,7 +140,7 @@ int32_t FileChooserResource::ShowInternal( |
mode_ == PP_FILECHOOSERMODE_OPENMULTIPLE, |
sugg_str ? sugg_str->value() : std::string(), |
accept_types_); |
- CallRenderer<PpapiPluginMsg_FileChooser_ShowReply>(msg, |
+ Call<PpapiPluginMsg_FileChooser_ShowReply>(RENDERER, msg, |
base::Bind(&FileChooserResource::OnPluginMsgShowReply, this)); |
return PP_OK_COMPLETIONPENDING; |
} |