Index: ppapi/thunk/interfaces_ppb_private.h |
diff --git a/ppapi/thunk/interfaces_ppb_private.h b/ppapi/thunk/interfaces_ppb_private.h |
index 636cf203ffe9105d186cd331e72be49ef9a8a7dc..630f1ce9c262321a4cbfa0dc4cd343ad6ee92564 100644 |
--- a/ppapi/thunk/interfaces_ppb_private.h |
+++ b/ppapi/thunk/interfaces_ppb_private.h |
@@ -51,6 +51,12 @@ PROXIED_IFACE(PPB_URLLOADERTRUSTED_INTERFACE_0_3, |
PROXIED_IFACE(PPB_OUTPUTPROTECTION_PRIVATE_INTERFACE_0_1, |
PPB_OutputProtection_Private_0_1) |
+ |
+// Hack to keep font working. The Font 0.6 API is binary compatible with |
+// BrowserFont 1.0, so just map the string to the same thing. |
+// TODO(brettw) remove support for the old Font API. |
+PROXIED_IFACE(PPB_FONT_DEV_INTERFACE_0_6, |
+ PPB_BrowserFont_Trusted_1_0) |
#endif // !defined(OS_NACL) |
#include "ppapi/thunk/interfaces_postamble.h" |