Closed
Bug 1483434
Opened 6 years ago
Closed 6 years ago
Allow nullptr parameter for PriorVisibleNode and NextVisibleNode
Categories
(Core :: DOM: Editor, enhancement)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: m_kato, Assigned: m_kato)
Details
Attachments
(1 file)
Sometimes the Caller of PriorVisibleNode or NextVisibleNode don't use outVisNode and/or outvisOffset. But both methods require all methods and it don't allow nullptr. It is complex whether parameter is used or unused. So I would like to allow nullptr.
Assignee | ||
Comment 1•6 years ago
|
||
Sometimes the caller of PriorVisibleNode or NextVisibleNode doesn't use outVisNode and/or outvisOffset. But both methods require all parameters and it don't allow nullptr. It is complex whether parameter is used or unused. So I would like to allow nullptr. Also, this methods can change to const method, so I will change some methods to const method too for this change.
Comment 2•6 years ago
|
||
Comment on attachment 9000150 [details] Bug 1483434 - Allow nullptr parameter for PriorVisibleNode and NextVisibleNode. r=masayuki Masayuki Nakano [:masayuki] (JST, +0900) has approved the revision.
Attachment #9000150 -
Flags: review+
Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/mozilla-inbound/rev/7de9496d9640 Allow nullptr parameter for PriorVisibleNode and NextVisibleNode. r=masayuki
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7de9496d9640
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•