Closed Bug 1529177 Opened 6 years ago Closed 6 years ago

Make InsertTagCommand::DoCommandParams() use nsGkAtoms to set attribute

Categories

(Core :: DOM: Editor, enhancement)

65 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

Attachments

(1 file)

No description provided.

InsertTagCommand::DoCommandParams() uses Element::SetAttribute() which takes
nsAString as attribute name. For avoiding unnecessary copy of attribute name,
we should make it use Element::SetAttr() which takes nsAtom instead.

Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/928e7fda3cb4 Make InsertTagCommand::DoCommandParams() use nsGkAtoms to set attribute r=m_kato
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: