Index: chrome/renderer/pepper/pepper_flash_font_file_host.h |
diff --git a/chrome/renderer/pepper/pepper_flash_font_file_host.h b/chrome/renderer/pepper/pepper_flash_font_file_host.h |
index 02bb30f315fd371f0e917726eb84b93b43010f30..3c29a222f588b51fe9ac43f7c4f8cb7f42227bf4 100644 |
--- a/chrome/renderer/pepper/pepper_flash_font_file_host.h |
+++ b/chrome/renderer/pepper/pepper_flash_font_file_host.h |
@@ -12,6 +12,9 @@ |
#if defined(OS_LINUX) || defined(OS_OPENBSD) |
#include "base/files/scoped_file.h" |
+#elif defined(OS_WIN) |
+#include "skia/ext/refptr.h" |
+#include "third_party/skia/include/core/SkTypeface.h" |
#endif |
namespace content { |
@@ -41,9 +44,12 @@ class PepperFlashFontFileHost : public ppapi::host::ResourceHost { |
private: |
int32_t OnGetFontTable(ppapi::host::HostMessageContext* context, |
uint32_t table); |
+ bool GetFontData(uint32_t table, void* buffer, size_t* length); |
#if defined(OS_LINUX) || defined(OS_OPENBSD) |
base::ScopedFD fd_; |
+#elif defined(OS_WIN) |
+ skia::RefPtr<SkTypeface> typeface_; |
#endif |
DISALLOW_COPY_AND_ASSIGN(PepperFlashFontFileHost); |