| Index: ppapi/proxy/flash_font_file_resource.cc
|
| diff --git a/ppapi/proxy/flash_font_file_resource.cc b/ppapi/proxy/flash_font_file_resource.cc
|
| index ecb8bc2ee4deb2f6372bfd9c3f3fc129cc6b14b7..9dec65e7c899df645709e4e3fad35e770a5454f6 100644
|
| --- a/ppapi/proxy/flash_font_file_resource.cc
|
| +++ b/ppapi/proxy/flash_font_file_resource.cc
|
| @@ -44,17 +44,14 @@ PP_Bool FlashFontFileResource::GetFontTable(uint32_t table,
|
|
|
| std::string* contents = GetFontTable(table);
|
| if (!contents) {
|
| - IPC::Message reply;
|
| - int32_t result = CallRendererSync(
|
| - PpapiHostMsg_FlashFontFile_GetFontTable(table), &reply);
|
| + std::string out_contents;
|
| + int32_t result = SyncCall<PpapiPluginMsg_FlashFontFile_GetFontTableReply>(
|
| + RENDERER, PpapiHostMsg_FlashFontFile_GetFontTable(table),
|
| + &out_contents);
|
| if (result != PP_OK)
|
| return PP_FALSE;
|
|
|
| - PpapiPluginMsg_FlashFontFile_GetFontTableReply::Param param;
|
| - if (!PpapiPluginMsg_FlashFontFile_GetFontTableReply::Read(&reply, ¶m))
|
| - return PP_FALSE;
|
| -
|
| - contents = AddFontTable(table, param.a);
|
| + contents = AddFontTable(table, out_contents);
|
| }
|
|
|
| // If we are going to copy the data into |output|, it must be big enough.
|
|
|