Bug 1425573 - Make the underlying type of TargetConfirmationState uint8_t. r=kats draft
authorBotond Ballo <botond@mozilla.com>
Fri, 16 Feb 2018 20:14:49 -0500
changeset 758064 8451db019c2ef3d8f028108e0b2a23b01418cc54
parent 758063 6826899367d19decbb6da0b3d25f32758c46dcec
child 758065 9dd8c18183e6656e6f9459a92af4d9659cf421d6
push id99941
push userbballo@mozilla.com
push dateWed, 21 Feb 2018 21:04:27 +0000
reviewerskats
bugs1425573
milestone60.0a1
Bug 1425573 - Make the underlying type of TargetConfirmationState uint8_t. r=kats MozReview-Commit-ID: GAriuJH19a4
gfx/layers/apz/src/InputBlockState.h
--- a/gfx/layers/apz/src/InputBlockState.h
+++ b/gfx/layers/apz/src/InputBlockState.h
@@ -37,17 +37,17 @@ class KeyboardBlockState;
  */
 class InputBlockState : public RefCounted<InputBlockState>
 {
 public:
   MOZ_DECLARE_REFCOUNTED_TYPENAME(InputBlockState)
 
   static const uint64_t NO_BLOCK_ID = 0;
 
-  enum class TargetConfirmationState {
+  enum class TargetConfirmationState : uint8_t {
     eUnconfirmed,
     eTimedOut,
     eTimedOutAndMainThreadResponded,
     eConfirmed
   };
 
   explicit InputBlockState(const RefPtr<AsyncPanZoomController>& aTargetApzc,
                            TargetConfirmationFlags aFlags);