PPAPI: Remove PPB_Font_Dev.
[email protected]
Review URL: https://codereview.chromium.org/1428653002
Cr-Commit-Position: refs/heads/master@{#357449}
diff --git a/ppapi/proxy/serialized_structs.h b/ppapi/proxy/serialized_structs.h
index efefade..ac890f8 100644
--- a/ppapi/proxy/serialized_structs.h
+++ b/ppapi/proxy/serialized_structs.h
@@ -21,30 +21,20 @@
#include "ppapi/proxy/ppapi_proxy_export.h"
#include "ppapi/shared_impl/host_resource.h"
-struct PP_FontDescription_Dev;
struct PP_BrowserFont_Trusted_Description;
namespace ppapi {
namespace proxy {
-// PP_FontDescription_Dev/PP_BrowserFontDescription (same definition, different
-// names) has to be redefined with a string in place of the PP_Var used for the
-// face name.
+// PP_BrowserFontDescription has to be redefined with a string in place of the
+// PP_Var used for the face name.
struct PPAPI_PROXY_EXPORT SerializedFontDescription {
SerializedFontDescription();
~SerializedFontDescription();
- // Converts a PP_FontDescription_Dev to a SerializedFontDescription.
- //
- // The reference of |face| owned by the PP_FontDescription_Dev will be
- // unchanged and the caller is responsible for freeing it.
- void SetFromPPFontDescription(const PP_FontDescription_Dev& desc);
void SetFromPPBrowserFontDescription(
const PP_BrowserFont_Trusted_Description& desc);
- // Converts to a PP_FontDescription_Dev. The face name will have one ref
- // assigned to it. The caller is responsible for freeing it.
- void SetToPPFontDescription(PP_FontDescription_Dev* desc) const;
void SetToPPBrowserFontDescription(
PP_BrowserFont_Trusted_Description* desc) const;
@@ -81,7 +71,7 @@
// caller is responsible for releasing it.
void SetFromPPTrueTypeFontDesc(const PP_TrueTypeFontDesc_Dev& desc);
- // Converts this to a PP_FontDescription_Dev.
+ // Converts this to a PP_TrueTypeFontDesc_Dev.
//
// The desc.family PP_Var will have one reference assigned to it. The caller
// is responsible for releasing it.