Closed Bug 1323929 Opened 9 years ago Closed 9 years ago

Change the reject value type from nsresult to MediaResult

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

Details

Attachments

(1 file)

Assignee: nobody → jwwang
Priority: -- → P3
Comment on attachment 8819196 [details] Bug 1323929 - Change the reject value type from nsresult to MediaResult. https://reviewboard.mozilla.org/r/99066/#review99304 ::: dom/media/MediaDecoderStateMachine.cpp:1116 (Diff revision 1) > } > > - void OnSeekRejected(nsresult aResult) { > + void OnSeekRejected(const MediaResult& aError) { > mSeekRequest.Complete(); > > - MOZ_ASSERT(NS_FAILED(aResult), "Cancels should also disconnect mSeekRequest"); > + MOZ_ASSERT(NS_FAILED(aError.Code()), "Cancels should also disconnect mSeekRequest"); NS_FAILED(aError) will work
Attachment #8819196 - Flags: review?(jyavenard) → review+
Thanks!
Pushed by jwwang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dd98f539dad2 Change the reject value type from nsresult to MediaResult. r=jya
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: