Closed Bug 1332160 Opened 3 years ago Closed 3 years ago

Use nsACString for GetMozDebugReaderData() functions

Categories

(Core :: Audio/Video: Playback, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

References

Details

Attachments

(1 file)

http://searchfox.org/mozilla-central/rev/30fcf167af036aeddf322de44a2fadd370acfd2f/dom/media/MediaDecoder.h#476

We should use utf8 strings whenever possible in our media code. Conversion is needed only when the strings are passed to JS. It is usually more efficient because string conversion only happen once.
Assignee: nobody → jwwang
Blocks: 1331833
Priority: -- → P3
Attachment #8828205 - Flags: review?(gsquelart)
Comment on attachment 8828205 [details]
Bug 1332160 - use nsCString internally whenever possible.

https://reviewboard.mozilla.org/r/105676/#review106528
Attachment #8828205 - Flags: review?(gsquelart) → review+
Thanks!
https://hg.mozilla.org/mozilla-central/rev/77dc13c9bb35
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in before you can comment on or make changes to this bug.