Bug 1292432 part 1 - Make StyleSheet.mType be const. r?heycam draft
authorXidorn Quan <me@upsuper.org>
Tue, 13 Sep 2016 15:49:14 +1000
changeset 423105 527939f7dc0dbf91c5bc81add7c402ce33e44b13
parent 423104 a2a771d34377fceaf2be4c1d0860f941e36440ce
child 423106 0110eba244840cfbf56dd9449d1e24386a83327f
push id31799
push userxquan@mozilla.com
push dateMon, 10 Oct 2016 07:37:57 +0000
reviewersheycam
bugs1292432
milestone52.0a1
Bug 1292432 part 1 - Make StyleSheet.mType be const. r?heycam MozReview-Commit-ID: IdatjuERDK3
layout/style/StyleSheet.h
--- a/layout/style/StyleSheet.h
+++ b/layout/style/StyleSheet.h
@@ -139,15 +139,15 @@ protected:
   nsIDocument*          mDocument; // weak ref; parents maintain this for their children
   nsINode*              mOwningNode; // weak ref
 
   // mParsingMode controls access to nonstandard style constructs that
   // are not safe for use on the public Web but necessary in UA sheets
   // and/or useful in user sheets.
   css::SheetParsingMode mParsingMode;
 
-  StyleBackendType      mType;
+  const StyleBackendType mType;
   bool                  mDisabled;
 };
 
 } // namespace mozilla
 
 #endif // mozilla_StyleSheet_h