Bug 1309109 part 1 - Change underlying type of StyleBackendType to uint8_t. r?heycam draft
authorXidorn Quan <me@upsuper.org>
Tue, 11 Oct 2016 17:47:31 +1100
changeset 426164 c8dce2a87e6139f7e68b551ee66802de3dfde28f
parent 426163 70b6f0369464e8313f7f6c01bcd1f8d2694cea58
child 426165 03c7ec24733666b5ad42b7c1b9a6b32e6dba8cac
push id32640
push userxquan@mozilla.com
push dateTue, 18 Oct 2016 00:25:47 +0000
reviewersheycam
bugs1309109
milestone52.0a1
Bug 1309109 part 1 - Change underlying type of StyleBackendType to uint8_t. r?heycam MozReview-Commit-ID: B6TmOq6elfs
layout/style/StyleBackendType.h
--- a/layout/style/StyleBackendType.h
+++ b/layout/style/StyleBackendType.h
@@ -7,17 +7,17 @@
 #ifndef mozilla_StyleBackendType_h
 #define mozilla_StyleBackendType_h
 
 namespace mozilla {
 
 /**
  * Enumeration that represents one of the two supported style system backends.
  */
-enum class StyleBackendType : int
+enum class StyleBackendType : uint8_t
 {
   Gecko = 1,
   Servo
 };
 
 } // namespace mozilla
 
 #endif // mozilla_StyleBackendType_h