Bug 1224464 patch 1 - Make nsCSSKeyword explicitly int16_t. r=heycam
authorL. David Baron <dbaron@dbaron.org>
Thu, 19 Nov 2015 18:08:56 -0800
changeset 273444 2cb53b74518d271a2874502ad129b7b4f799c5ae
parent 273443 50b8122fd926f7808d44594ba8f2742990c37112
child 273445 fbde9f78976bf61462c3069abdbe87a37303ea59
push id29702
push usercbook@mozilla.com
push dateFri, 20 Nov 2015 12:13:22 +0000
treeherdermozilla-central@ec628289d8b4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam
bugs1224464
milestone45.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 1224464 patch 1 - Make nsCSSKeyword explicitly int16_t. r=heycam
layout/style/nsCSSKeywords.h
--- a/layout/style/nsCSSKeywords.h
+++ b/layout/style/nsCSSKeywords.h
@@ -13,17 +13,17 @@
 /*
    Declare the enum list using the magic of preprocessing
    enum values are "eCSSKeyword_foo" (where foo is the keyword)
 
    To change the list of keywords, see nsCSSKeywordList.h
 
  */
 #define CSS_KEY(_name,_id) eCSSKeyword_##_id,
-enum nsCSSKeyword {
+enum nsCSSKeyword : int16_t {
   eCSSKeyword_UNKNOWN = -1,
 #include "nsCSSKeywordList.h"
   eCSSKeyword_COUNT
 };
 #undef CSS_KEY
 
 
 class nsCSSKeywords {