Index: chrome/renderer/pepper/chrome_ppapi_interfaces.cc |
diff --git a/chrome/renderer/pepper/chrome_ppapi_interfaces.cc b/chrome/renderer/pepper/chrome_ppapi_interfaces.cc |
index f62ab791e21504e7517155219696dbdfed7eb530..f4b922fd1fae94b926c832e0e4df129fffee0508 100644 |
--- a/chrome/renderer/pepper/chrome_ppapi_interfaces.cc |
+++ b/chrome/renderer/pepper/chrome_ppapi_interfaces.cc |
@@ -4,9 +4,11 @@ |
#include "chrome/renderer/pepper/chrome_ppapi_interfaces.h" |
+#include "chrome/renderer/pepper/ppb_flash_font_impl.h" |
#include "chrome/renderer/pepper/ppb_flash_print_impl.h" |
#include "chrome/renderer/pepper/ppb_nacl_private_impl.h" |
#include "chrome/renderer/pepper/ppb_pdf_impl.h" |
+#include "ppapi/c/private/ppb_flash_font.h" |
#include "ppapi/c/private/ppb_flash_print.h" |
#include "ppapi/c/private/ppb_nacl_private.h" |
#include "ppapi/c/private/ppb_pdf.h" |
@@ -21,7 +23,9 @@ const void* ChromePPAPIInterfaceFactory(const std::string& interface_name) { |
#endif // DISABLE_NACL |
if (interface_name == PPB_PDF_INTERFACE) |
return PPB_PDF_Impl::GetInterface(); |
- if (interface_name == PPB_FLASH_PRINT_INTERFACE) |
+ if (interface_name == PPB_FLASH_FONT_INTERFACE_0_1) |
+ return PPB_Flash_Font_Impl::GetInterface(); |
+ if (interface_name == PPB_FLASH_PRINT_INTERFACE_1_0) |
return PPB_Flash_Print_Impl::GetInterface(); |
return NULL; |
} |