Bug 1383816 - Removes FocusTargetType ParamTraits specialization; r=botond
authorJeff Hajewski <jeff.hajewski@gmail.com>
Sun, 03 Sep 2017 08:11:59 -0500
changeset 429325 57a5ce8cbf6057413f3f5d20f8bef6ebb8e84eae
parent 429324 ccd79eaa9cb0330791021676c39d887d9ae7c676
child 429326 207590617db755d7e395a71df2a7fc9297ccbe65
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbotond
bugs1383816
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1383816 - Removes FocusTargetType ParamTraits specialization; r=botond MozReview-Commit-ID: Gao4O3eJKmp
gfx/layers/ipc/LayersMessageUtils.h
--- 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;