Bug 1383816 - Removes FocusTargetType ParamTraits specialization; r?botond
MozReview-Commit-ID: Gao4O3eJKmp
--- a/gfx/layers/ipc/LayersMessageUtils.h
+++ b/gfx/layers/ipc/LayersMessageUtils.h
@@ -435,24 +435,16 @@ struct ParamTraits<mozilla::layers::Focu
static bool Read(const Message* aMsg, PickleIterator* aIter, paramType* aResult)
{
return ReadParam(aMsg, aIter, &aResult->mHorizontal) &&
ReadParam(aMsg, aIter, &aResult->mVertical);
}
};
template <>
-struct ParamTraits<mozilla::layers::FocusTarget::FocusTargetType>
- : public ContiguousEnumSerializerInclusive<
- mozilla::layers::FocusTarget::FocusTargetType,
- mozilla::layers::FocusTarget::eNone,
- mozilla::layers::FocusTarget::sHighestFocusTargetType>
-{};
-
-template <>
struct ParamTraits<mozilla::layers::FocusTarget::NoFocusTarget>
: public EmptyStructSerializer<mozilla::layers::FocusTarget::NoFocusTarget>
{};
template <>
struct ParamTraits<mozilla::layers::FocusTarget>
{
typedef mozilla::layers::FocusTarget paramType;