Closed Bug 1253734 Opened 9 years ago Closed 9 years ago

Add some more editor things to CC traversal

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla48
Tracking Status
firefox47 --- affected
firefox48 --- fixed

People

(Reporter: peterv, Assigned: peterv)

References

Details

(Whiteboard: btpp-active)

Attachments

(1 file, 1 obsolete file)

Attached patch editortraverse.patch (obsolete) — Splinter Review
I'm not sure we need to traverse nsRangeUpdater. I think it might be always empty by the time we traverse, because we always we add and then remove things to it when executing editor transactions, but I can't tell for sure.
Attachment #8726926 - Flags: review?(continuation)
Comment on attachment 8726926 [details] [diff] [review] editortraverse.patch Review of attachment 8726926 [details] [diff] [review]: ----------------------------------------------------------------- Actually, I'm going to switch this to ImplCycleCollectionTraverse/ImplCycleCollectionUnlink.
Attachment #8726926 - Flags: review?(continuation)
Attached patch v1Splinter Review
Attachment #8726926 - Attachment is obsolete: true
Attachment #8726940 - Flags: review?(continuation)
Comment on attachment 8726940 [details] [diff] [review] v1 Review of attachment 8726940 [details] [diff] [review]: ----------------------------------------------------------------- ::: editor/libeditor/PlaceholderTxn.cpp @@ +37,5 @@ > NS_IMPL_CYCLE_COLLECTION_UNLINK_END > > NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(PlaceholderTxn, > EditAggregateTxn) > + ImplCycleCollectionTraverse(cb, *tmp->mStartSel, "mStartSel", 0); I guess we haven't needed an overload for nsAutoPtr<> before.
Attachment #8726940 - Flags: review?(continuation) → review+
Whiteboard: btpp-active
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: