| 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 6cb3bbec6ee84db90c4d0dff514ae102be0787a0..409f6a39ffad3565945dee10e79c3cdd10ebbcaa 100644
|
| --- a/chrome/renderer/pepper/ppb_pdf_impl.cc
|
| +++ b/chrome/renderer/pepper/ppb_pdf_impl.cc
|
| @@ -49,7 +49,7 @@ using content::RenderThread;
|
|
|
| namespace {
|
|
|
| -#if defined(OS_LINUX) || defined(OS_OPENBSD)
|
| +#if defined(OS_LINUX) || defined(OS_BSD)
|
| class PrivateFontFile : public ppapi::Resource {
|
| public:
|
| PrivateFontFile(PP_Instance instance, int fd)
|
| @@ -196,7 +196,7 @@ PP_Resource GetFontFileWithFallback(
|
| PP_Instance instance_id,
|
| const PP_BrowserFont_Trusted_Description* description,
|
| PP_PrivateFontCharset charset) {
|
| -#if defined(OS_LINUX) || defined(OS_OPENBSD)
|
| +#if defined(OS_LINUX) || defined(OS_BSD)
|
| // Validate the instance before using it below.
|
| if (!content::GetHostGlobals()->GetInstance(instance_id))
|
| return 0;
|
| @@ -228,7 +228,7 @@ bool GetFontTableForPrivateFontFile(PP_Resource font_file,
|
| uint32_t table,
|
| void* output,
|
| uint32_t* output_length) {
|
| -#if defined(OS_LINUX) || defined(OS_OPENBSD)
|
| +#if defined(OS_LINUX) || defined(OS_BSD)
|
| ppapi::Resource* resource =
|
| PpapiGlobals::Get()->GetResourceTracker()->GetResource(font_file);
|
| if (!resource)
|
|
|