Closed Bug 1307699 Opened 8 years ago Closed 8 years ago

Move some code to SeekingState

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
firefox52 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

References

Details

Attachments

(9 files)

58 bytes, text/x-review-board-request
kaku
: review+
Details
58 bytes, text/x-review-board-request
kaku
: review+
Details
58 bytes, text/x-review-board-request
kaku
: review+
Details
58 bytes, text/x-review-board-request
kaku
: review+
Details
58 bytes, text/x-review-board-request
kaku
: review+
Details
58 bytes, text/x-review-board-request
kaku
: review+
Details
58 bytes, text/x-review-board-request
kaku
: review+
Details
58 bytes, text/x-review-board-request
kaku
: review+
Details
58 bytes, text/x-review-board-request
kaku
: review+
Details
      No description provided.
Assignee: nobody → jwwang
Blocks: 1295892
Priority: -- → P3
Attachment #8798272 - Flags: review?(kaku)
Attachment #8798273 - Flags: review?(kaku)
Attachment #8798274 - Flags: review?(kaku)
Attachment #8798275 - Flags: review?(kaku)
Attachment #8798276 - Flags: review?(kaku)
Attachment #8798277 - Flags: review?(kaku)
Attachment #8798278 - Flags: review?(kaku)
Attachment #8798279 - Flags: review?(kaku)
Attachment #8798280 - Flags: review?(kaku)
Comment on attachment 8798272 [details]
Bug 1307699. Part 1 - move OnSeekTaskResolved/OnSeekTaskRejected into SeekingState.

https://reviewboard.mozilla.org/r/83782/#review82360

::: dom/media/MediaDecoderStateMachine.cpp:741
(Diff revision 1)
>      mMaster->mCurrentSeek = Move(mSeekJob);
>    }
>  
> +  void Exit() override
> +  {
> +    mMaster->mSeekTaskRequest.DisconnectIfExists();
Attachment #8798272 - Flags: review?(kaku) → review+
Comment on attachment 8798273 [details]
Bug 1307699. Part 2 - move mSeekTaskRequest into SeekingState.

https://reviewboard.mozilla.org/r/83784/#review82366
Attachment #8798273 - Flags: review?(kaku) → review+
Comment on attachment 8798274 [details]
Bug 1307699. Part 3 - move SeekCompleted() into SeekingState.

https://reviewboard.mozilla.org/r/83786/#review82368
Attachment #8798274 - Flags: review?(kaku) → review+
Comment on attachment 8798275 [details]
Bug 1307699. Part 4 - move DiscardSeekTaskIfExist() into the exit action of SeekingState.

https://reviewboard.mozilla.org/r/83788/#review82370
Attachment #8798275 - Flags: review?(kaku) → review+
Comment on attachment 8798276 [details]
Bug 1307699. Part 5 - move mSeekTask into SeekingState.

https://reviewboard.mozilla.org/r/83790/#review82372
Attachment #8798276 - Flags: review?(kaku) → review+
Comment on attachment 8798277 [details]
Bug 1307699. Part 6 - remove comments that are no longer valid.

https://reviewboard.mozilla.org/r/83792/#review82374
Attachment #8798277 - Flags: review?(kaku) → review+
Comment on attachment 8798278 [details]
Bug 1307699. Part 7 - remove null-checks for mSeekTask which is guaranteed to be non-null by Enter().

https://reviewboard.mozilla.org/r/83794/#review82376
Attachment #8798278 - Flags: review?(kaku) → review+
Comment on attachment 8798279 [details]
Bug 1307699. Part 8 - move mCurrentSeek into SeekingState.

https://reviewboard.mozilla.org/r/83796/#review82378
Attachment #8798279 - Flags: review?(kaku) → review+
Comment on attachment 8798280 [details]
Bug 1307699. Part 9 - replace mCurrentSeek with mSeekJob.

https://reviewboard.mozilla.org/r/83798/#review82380
Attachment #8798280 - Flags: review?(kaku) → review+
Thanks for the review!
Pushed by jwwang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/40e0bf77a61f
Part 1 - move OnSeekTaskResolved/OnSeekTaskRejected into SeekingState. r=kaku
https://hg.mozilla.org/integration/autoland/rev/262a8127caf3
Part 2 - move mSeekTaskRequest into SeekingState. r=kaku
https://hg.mozilla.org/integration/autoland/rev/3e9d1b093765
Part 3 - move SeekCompleted() into SeekingState. r=kaku
https://hg.mozilla.org/integration/autoland/rev/20fd2699fc8b
Part 4 - move DiscardSeekTaskIfExist() into the exit action of SeekingState. r=kaku
https://hg.mozilla.org/integration/autoland/rev/88c64b02985d
Part 5 - move mSeekTask into SeekingState. r=kaku
https://hg.mozilla.org/integration/autoland/rev/af8fa261dc62
Part 6 - remove comments that are no longer valid. r=kaku
https://hg.mozilla.org/integration/autoland/rev/33c45f3ea581
Part 7 - remove null-checks for mSeekTask which is guaranteed to be non-null by Enter(). r=kaku
https://hg.mozilla.org/integration/autoland/rev/5291cf897999
Part 8 - move mCurrentSeek into SeekingState. r=kaku
https://hg.mozilla.org/integration/autoland/rev/209e990beeae
Part 9 - replace mCurrentSeek with mSeekJob. r=kaku
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: