Closed Bug 1277222 Opened 9 years ago Closed 9 years ago

don't needlessly copy a string in XULDocument::MaybeBroadcast

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

The listener's SetAttr method takes a |const nsAString&|, so copying the string in any form before passing it is just needless work.
Attachment #8758681 - Flags: review?(bugs) → review+
Pushed by nfroyd@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/dc6dbe4c9cee don't needlessly copy a string in XULDocument::MaybeBroadcast; r=smaug
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: