Closed Bug 1482013 Opened 2 years ago Closed 2 years ago

Split HTMLEditor::SetInlineProperty() for internal use

Categories

(Core :: DOM: Editor, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

Attachments

(1 file)

For making it possible to distinguish if SetInlineProperty() is called by outer
class or the editor itself, this patch creates SetInlinePropertyInternal().

Additionally, this makes the first argument of SetInlineProperty() from
nsAtom* to nsAtom& since it's not nullable.
Comment on attachment 8998795 [details]
Bug 1482013 - Create HTMLEditor::SetInlinePropertyInternal() for internal use

Makoto Kato [:m_kato] has approved the revision.
Attachment #8998795 - Flags: review+
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/50e4f06ac01a
Create HTMLEditor::SetInlinePropertyInternal() for internal use r=m_kato
https://hg.mozilla.org/mozilla-central/rev/50e4f06ac01a
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.