| Index: ppapi/proxy/serialized_structs.h
|
| diff --git a/ppapi/proxy/serialized_structs.h b/ppapi/proxy/serialized_structs.h
|
| index efefadebefe40b05fc3b1c66e7ac5fb833702d82..ac890f88c26895cdc5be19a28bb91253ade72a10 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 @@ struct PPAPI_PROXY_EXPORT SerializedTrueTypeFontDesc {
|
| // 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.
|
|
|