| Index: chrome/browser/component_updater/pepper_flash_component_installer.cc
|
| diff --git a/chrome/browser/component_updater/pepper_flash_component_installer.cc b/chrome/browser/component_updater/pepper_flash_component_installer.cc
|
| index ab38ea8fc316147b066119af60c992f6b99edd87..3b5edbab914b35eb4b800dbee5ea83de5214f491 100644
|
| --- a/chrome/browser/component_updater/pepper_flash_component_installer.cc
|
| +++ b/chrome/browser/component_updater/pepper_flash_component_installer.cc
|
| @@ -30,6 +30,7 @@
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/plugin_service.h"
|
| #include "content/public/common/pepper_plugin_info.h"
|
| +#include "ppapi/c/private/ppb_flash_font.h"
|
| #include "ppapi/c/private/ppb_pdf.h"
|
| #include "webkit/plugins/plugin_constants.h"
|
| #include "webkit/plugins/ppapi/plugin_module.h"
|
| @@ -125,11 +126,12 @@ bool GetPepperFlashDirectory(FilePath* latest_dir,
|
| bool SupportsPepperInterface(const char* interface_name) {
|
| if (webkit::ppapi::PluginModule::SupportsInterface(interface_name))
|
| return true;
|
| - // The PDF interface is invisible to SupportsInterface() on the browser
|
| - // process because it is provided using PpapiInterfaceFactoryManager. We need
|
| - // to check for that as well.
|
| + // These interfaces are invisible to SupportsInterface() on the browser
|
| + // process because they are provided using PpapiInterfaceFactoryManager.
|
| + // We need to check for them as well.
|
| // TODO(cpu): make this more sane.
|
| - return (strcmp(interface_name, PPB_PDF_INTERFACE) == 0);
|
| + return (strcmp(interface_name, PPB_FLASH_FONT_INTERFACE_0_1) == 0 ||
|
| + strcmp(interface_name, PPB_PDF_INTERFACE) == 0);
|
| }
|
|
|
| bool MakePepperFlashPluginInfo(const FilePath& flash_path,
|
|
|