Backed out changeset 9b27e6ae9481 (bug 1270916)
authorIris Hsiao <ihsiao@mozilla.com>
Wed, 16 Nov 2016 14:42:04 +0800
changeset 322840 eec10be4f0990e97543d3c12b0415ec50a798c21
parent 322839 3dc4cf076e29d9c01c772d1d7fd4e1961e89d79e
child 322841 13d08c4e45d9fab986edfc0aebe26c5d32b4f944
push id21
push usermaklebus@msu.edu
push dateThu, 01 Dec 2016 06:22:08 +0000
bugs1270916
milestone53.0a1
backs out9b27e6ae9481f3da6b097eeb2e8c758e60c47a56
Backed out changeset 9b27e6ae9481 (bug 1270916) CLOSED TREE
accessible/base/EventTree.cpp
accessible/base/EventTree.h
--- a/accessible/base/EventTree.cpp
+++ b/accessible/base/EventTree.cpp
@@ -20,18 +20,17 @@ using namespace mozilla::a11y;
 ////////////////////////////////////////////////////////////////////////////////
 // TreeMutation class
 
 EventTree* const TreeMutation::kNoEventTree = reinterpret_cast<EventTree*>(-1);
 
 TreeMutation::TreeMutation(Accessible* aParent, bool aNoEvents) :
   mParent(aParent), mStartIdx(UINT32_MAX),
   mStateFlagsCopy(mParent->mStateFlags),
-  mEventTree(aNoEvents ? kNoEventTree : nullptr),
-  mQueueEvents(!aNoEvents)
+  mEventTree(aNoEvents ? kNoEventTree : nullptr)
 {
 #ifdef DEBUG
   mIsDone = false;
 #endif
 
 #ifdef A11Y_LOG
   if (mEventTree != kNoEventTree && logging::IsEnabled(logging::eEventTree)) {
     logging::MsgBegin("EVENTS_TREE", "reordering tree before");
--- a/accessible/base/EventTree.h
+++ b/accessible/base/EventTree.h
@@ -44,21 +44,16 @@ private:
   static const char* PrefixLog(void* aData, Accessible*);
 #endif
 
   Accessible* mParent;
   uint32_t mStartIdx;
   uint32_t mStateFlagsCopy;
   EventTree* mEventTree;
 
-  /*
-   * True if we should queue mutation events.
-   */
-  bool mQueueEvents;
-
 #ifdef DEBUG
   bool mIsDone;
 #endif
 };
 
 
 /**
  * A mutation events coalescence structure.