Bug 1373828: Work around servo/rust-bindgen#734. r?bholley draft
authorEmilio Cobos Álvarez <emilio@crisal.io>
Sat, 17 Jun 2017 00:17:35 +0200
changeset 595894 2fa5be8cc1580a34a05e2e3d69bf2f38c05c1e94
parent 595893 274e6b6d1399b1d1e042b4150b6704d537bc1a60
child 633823 9f5edc6edb4e740cc53d94ef7ff01a527f8ab0bd
push id64469
push userbmo:emilio+bugs@crisal.io
push dateFri, 16 Jun 2017 22:35:10 +0000
reviewersbholley
bugs1373828
milestone56.0a1
Bug 1373828: Work around servo/rust-bindgen#734. r?bholley MozReview-Commit-ID: Fbng9a7MpDM
layout/base/nsPresContext.h
--- a/layout/base/nsPresContext.h
+++ b/layout/base/nsPresContext.h
@@ -1499,21 +1499,21 @@ protected:
   // Is there a pref update to process once we have a container?
   unsigned              mNeedsPrefUpdate : 1;
 
   // Has NotifyNonBlankPaint been called on this PresContext?
   unsigned              mHadNonBlankPaint : 1;
 
 #ifdef RESTYLE_LOGGING
   // Should we output debug information about restyling for this document?
-  bool                  mRestyleLoggingEnabled;
+  unsigned mRestyleLoggingEnabled : 1;
 #endif
 
 #ifdef DEBUG
-  bool                  mInitialized;
+  unsigned mInitialized : 1;
 #endif
 
 
 protected:
 
   virtual ~nsPresContext();
 
   nscolor MakeColorPref(const nsString& aColor);