Bug 984761 - IPDL serialization for the filter attribute name enum. r=bjacob

This commit is contained in:
Markus Stange 2014-03-20 10:12:44 +08:00
parent bd19cf32f1
commit a845b1be54
2 changed files with 8 additions and 0 deletions

View File

@ -284,6 +284,13 @@ struct ParamTraits<gfxImageFormat>
gfxImageFormat::Unknown>
{};
template <>
struct ParamTraits<mozilla::gfx::AttributeName>
: public EnumSerializer<mozilla::gfx::AttributeName,
mozilla::gfx::eBlendBlendmode,
mozilla::gfx::eLastAttributeName>
{};
template <>
struct ParamTraits<mozilla::gfx::AttributeType>
: public TypedEnumSerializer<mozilla::gfx::AttributeType,

View File

@ -140,6 +140,7 @@ enum AttributeName {
eImageNativeSize,
eImageSubregion,
eImageTransform,
eLastAttributeName
};
class DrawTarget;