Loading accessible/base/AccEvent.h +9 −9 Original line number Diff line number Diff line Loading @@ -127,7 +127,7 @@ protected: bool mIsFromUserInput; uint32_t mEventType; EEventRule mEventRule; RefPtr<Accessible> mAccessible; nsRefPtr<Accessible> mAccessible; friend class EventQueue; friend class AccReorderEvent; Loading Loading @@ -237,8 +237,8 @@ public: protected: nsCOMPtr<nsINode> mNode; RefPtr<Accessible> mParent; RefPtr<AccTextChangeEvent> mTextChangeEvent; nsRefPtr<Accessible> mParent; nsRefPtr<AccTextChangeEvent> mTextChangeEvent; friend class EventQueue; }; Loading Loading @@ -268,8 +268,8 @@ public: protected: bool mNeedsShutdown; RefPtr<Accessible> mNextSibling; RefPtr<Accessible> mPrevSibling; nsRefPtr<Accessible> mNextSibling; nsRefPtr<Accessible> mPrevSibling; friend class EventQueue; }; Loading Loading @@ -397,7 +397,7 @@ public: bool IsCaretMoveOnly() const; private: RefPtr<dom::Selection> mSel; nsRefPtr<dom::Selection> mSel; int32_t mReason; friend class EventQueue; Loading Loading @@ -432,8 +432,8 @@ public: Accessible* Widget() const { return mWidget; } private: RefPtr<Accessible> mWidget; RefPtr<Accessible> mItem; nsRefPtr<Accessible> mWidget; nsRefPtr<Accessible> mItem; SelChangeType mSelChangeType; uint32_t mPreceedingCount; AccSelChangeEvent* mPackedEvent; Loading Loading @@ -495,7 +495,7 @@ public: int32_t Reason() const { return mReason; } private: RefPtr<Accessible> mOldAccessible; nsRefPtr<Accessible> mOldAccessible; int32_t mOldStart; int32_t mOldEnd; int16_t mReason; Loading accessible/base/AccIterator.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -394,7 +394,7 @@ ARIAOwnsIterator::Next() Accessible* SingleAccIterator::Next() { RefPtr<Accessible> nextAcc; nsRefPtr<Accessible> nextAcc; mAcc.swap(nextAcc); if (!nextAcc || nextAcc->IsDefunct()) { return nullptr; Loading accessible/base/AccIterator.h +1 −1 Original line number Diff line number Diff line Loading @@ -306,7 +306,7 @@ private: SingleAccIterator(const SingleAccIterator&); SingleAccIterator& operator = (const SingleAccIterator&); RefPtr<Accessible> mAcc; nsRefPtr<Accessible> mAcc; }; Loading accessible/base/DocManager.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -427,7 +427,7 @@ DocManager::CreateDocOrRootAccessible(nsIDocument* aDocument) // We only create root accessibles for the true root, otherwise create a // doc accessible. nsIContent *rootElm = nsCoreUtils::GetRoleContent(aDocument); RefPtr<DocAccessible> docAcc = isRootDoc ? nsRefPtr<DocAccessible> docAcc = isRootDoc ? new RootAccessibleWrap(aDocument, rootElm, presShell) : new DocAccessibleWrap(aDocument, rootElm, presShell); Loading accessible/base/EventQueue.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ EventQueue::PushEvent(AccEvent* aEvent) ENameValueFlag nameFlag = parent->Name(name); // If name is obtained from subtree, fire name change event. if (nameFlag == eNameFromSubtree) { RefPtr<AccEvent> nameChangeEvent = nsRefPtr<AccEvent> nameChangeEvent = new AccEvent(nsIAccessibleEvent::EVENT_NAME_CHANGE, parent); PushEvent(nameChangeEvent); } Loading Loading @@ -482,7 +482,7 @@ void EventQueue::ProcessEventQueue() { // Process only currently queued events. nsTArray<RefPtr<AccEvent> > events; nsTArray<nsRefPtr<AccEvent> > events; events.SwapElements(mEvents); uint32_t eventCount = events.Length(); Loading Loading
accessible/base/AccEvent.h +9 −9 Original line number Diff line number Diff line Loading @@ -127,7 +127,7 @@ protected: bool mIsFromUserInput; uint32_t mEventType; EEventRule mEventRule; RefPtr<Accessible> mAccessible; nsRefPtr<Accessible> mAccessible; friend class EventQueue; friend class AccReorderEvent; Loading Loading @@ -237,8 +237,8 @@ public: protected: nsCOMPtr<nsINode> mNode; RefPtr<Accessible> mParent; RefPtr<AccTextChangeEvent> mTextChangeEvent; nsRefPtr<Accessible> mParent; nsRefPtr<AccTextChangeEvent> mTextChangeEvent; friend class EventQueue; }; Loading Loading @@ -268,8 +268,8 @@ public: protected: bool mNeedsShutdown; RefPtr<Accessible> mNextSibling; RefPtr<Accessible> mPrevSibling; nsRefPtr<Accessible> mNextSibling; nsRefPtr<Accessible> mPrevSibling; friend class EventQueue; }; Loading Loading @@ -397,7 +397,7 @@ public: bool IsCaretMoveOnly() const; private: RefPtr<dom::Selection> mSel; nsRefPtr<dom::Selection> mSel; int32_t mReason; friend class EventQueue; Loading Loading @@ -432,8 +432,8 @@ public: Accessible* Widget() const { return mWidget; } private: RefPtr<Accessible> mWidget; RefPtr<Accessible> mItem; nsRefPtr<Accessible> mWidget; nsRefPtr<Accessible> mItem; SelChangeType mSelChangeType; uint32_t mPreceedingCount; AccSelChangeEvent* mPackedEvent; Loading Loading @@ -495,7 +495,7 @@ public: int32_t Reason() const { return mReason; } private: RefPtr<Accessible> mOldAccessible; nsRefPtr<Accessible> mOldAccessible; int32_t mOldStart; int32_t mOldEnd; int16_t mReason; Loading
accessible/base/AccIterator.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -394,7 +394,7 @@ ARIAOwnsIterator::Next() Accessible* SingleAccIterator::Next() { RefPtr<Accessible> nextAcc; nsRefPtr<Accessible> nextAcc; mAcc.swap(nextAcc); if (!nextAcc || nextAcc->IsDefunct()) { return nullptr; Loading
accessible/base/AccIterator.h +1 −1 Original line number Diff line number Diff line Loading @@ -306,7 +306,7 @@ private: SingleAccIterator(const SingleAccIterator&); SingleAccIterator& operator = (const SingleAccIterator&); RefPtr<Accessible> mAcc; nsRefPtr<Accessible> mAcc; }; Loading
accessible/base/DocManager.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -427,7 +427,7 @@ DocManager::CreateDocOrRootAccessible(nsIDocument* aDocument) // We only create root accessibles for the true root, otherwise create a // doc accessible. nsIContent *rootElm = nsCoreUtils::GetRoleContent(aDocument); RefPtr<DocAccessible> docAcc = isRootDoc ? nsRefPtr<DocAccessible> docAcc = isRootDoc ? new RootAccessibleWrap(aDocument, rootElm, presShell) : new DocAccessibleWrap(aDocument, rootElm, presShell); Loading
accessible/base/EventQueue.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ EventQueue::PushEvent(AccEvent* aEvent) ENameValueFlag nameFlag = parent->Name(name); // If name is obtained from subtree, fire name change event. if (nameFlag == eNameFromSubtree) { RefPtr<AccEvent> nameChangeEvent = nsRefPtr<AccEvent> nameChangeEvent = new AccEvent(nsIAccessibleEvent::EVENT_NAME_CHANGE, parent); PushEvent(nameChangeEvent); } Loading Loading @@ -482,7 +482,7 @@ void EventQueue::ProcessEventQueue() { // Process only currently queued events. nsTArray<RefPtr<AccEvent> > events; nsTArray<nsRefPtr<AccEvent> > events; events.SwapElements(mEvents); uint32_t eventCount = events.Length(); Loading