Backed out changeset 9b27e6ae9481 (bug 1270916)
authorIris Hsiao <ihsiao@mozilla.com>
Wed, 16 Nov 2016 14:42:04 +0800
changeset 322686 eec10be4f0990e97543d3c12b0415ec50a798c21
parent 322685 3dc4cf076e29d9c01c772d1d7fd4e1961e89d79e
child 322687 13d08c4e45d9fab986edfc0aebe26c5d32b4f944
push id83957
push userihsiao@mozilla.com
push dateWed, 16 Nov 2016 06:42:55 +0000
treeherdermozilla-inbound@8a507a9f975c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1270916
milestone53.0a1
backs out9b27e6ae9481f3da6b097eeb2e8c758e60c47a56
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
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.