Bug 839103 - Part 5: Add a state bit on documents to control whether style sheet change events are dispatched. r=bz
authorCameron McCormack <cam@mcc.id.au>
Thu, 16 May 2013 17:13:35 +1000
changeset 132076 537f5deb09cd24c9db5fd620f861d365e89e2edf
parent 132075 5a3f4463fcbb3a4cf98a57216fac169ff08a1270
child 132077 04d2652d5d2989c9ef8fd1a4f0b41a4dbe8c3ae3
push id24683
push userryanvm@gmail.com
push dateThu, 16 May 2013 20:16:53 +0000
treeherdermozilla-central@8d7691da4700 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs839103
milestone24.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 839103 - Part 5: Add a state bit on documents to control whether style sheet change events are dispatched. r=bz
content/base/public/nsIDocument.h
--- a/content/base/public/nsIDocument.h
+++ b/content/base/public/nsIDocument.h
@@ -2294,16 +2294,19 @@ protected:
   bool mBFCacheDisallowed;
 
   // If true, we have an input encoding.  If this is false, then the
   // document was created entirely in memory
   bool mHaveInputEncoding;
 
   bool mHasHadDefaultView;
 
+  // Whether style sheet change events will be dispatched for this document
+  bool mStyleSheetChangeEventsEnabled;
+
   // The document's script global object, the object from which the
   // document can get its script context and scope. This is the
   // *inner* window object.
   nsCOMPtr<nsIScriptGlobalObject> mScriptGlobalObject;
 
   // If mIsStaticDocument is true, mOriginalDocument points to the original
   // document.
   nsCOMPtr<nsIDocument> mOriginalDocument;