Chromium Code Reviews| Index: chrome/renderer/pepper/ppb_pdf_impl.cc |
| diff --git a/chrome/renderer/pepper/ppb_pdf_impl.cc b/chrome/renderer/pepper/ppb_pdf_impl.cc |
| index 0198b196434cec3e1a84f72c809eec4caddae0a4..07348140bdf1cdee31b808b9a93a22e2e5843da4 100644 |
| --- a/chrome/renderer/pepper/ppb_pdf_impl.cc |
| +++ b/chrome/renderer/pepper/ppb_pdf_impl.cc |
| @@ -61,7 +61,7 @@ class PrivateFontFile : public ppapi::Resource { |
| uint32_t* output_length) { |
| size_t temp_size = static_cast<size_t>(*output_length); |
| bool rv = content::GetFontTable( |
| - fd_, table, static_cast<uint8_t*>(output), &temp_size); |
| + fd_, table, 0 /* offset */, static_cast<uint8_t*>(output), &temp_size); |
| *output_length = static_cast<uint32_t>(temp_size); |
|
palmer
2013/03/14 19:26:43
I'd use checked_numeric_cast (from base/) instead,
bbudge
2013/03/15 22:25:34
Done.
|
| return rv; |
| } |