| Index: chrome/renderer/pepper/pepper_flash_font_file_host.cc
|
| diff --git a/chrome/renderer/pepper/pepper_flash_font_file_host.cc b/chrome/renderer/pepper/pepper_flash_font_file_host.cc
|
| index 524c2276c6d43df3301ecdeffc7e58af17289cd4..b427265cb6cadb63829aeed961573b6139ceb36c 100644
|
| --- a/chrome/renderer/pepper/pepper_flash_font_file_host.cc
|
| +++ b/chrome/renderer/pepper/pepper_flash_font_file_host.cc
|
| @@ -57,12 +57,11 @@ int32_t PepperFlashFontFileHost::OnGetFontTable(
|
| #if defined(OS_LINUX) || defined(OS_OPENBSD)
|
| if (fd_ != -1) {
|
| size_t length = 0;
|
| - if (content::GetFontTable(fd_, table, 0 /* offset */, NULL, &length)) {
|
| + if (content::GetFontTable(fd_, table, NULL, &length)) {
|
| contents.resize(length);
|
| uint8_t* contents_ptr =
|
| reinterpret_cast<uint8_t*>(const_cast<char*>(contents.c_str()));
|
| - if (content::GetFontTable(fd_, table, 0 /* offset */,
|
| - contents_ptr, &length)) {
|
| + if (content::GetFontTable(fd_, table, contents_ptr, &length)) {
|
| result = PP_OK;
|
| } else {
|
| contents.clear();
|
|
|