948c60c015995c4607992fa1f81a454f599081fa: Bug 1313497 - AppendBufferTask can take SourceBufferAttributes by const& - r?jya
draft
Gerald Squelart <gsquelart@mozilla.com> - Sun, 13 Nov 2016 16:39:47 +1100 - rev 440588
Push
36269 by gsquelart@mozilla.com at Thu, 17 Nov 2016 20:58:24 +0000
Bug 1313497 - AppendBufferTask can take SourceBufferAttributes by const& - r?jya
A small optimization found while working on the previous patch.
MozReview-Commit-ID: 4w2LI5mqUvS
d8ca79426e1d31da0f86a2f9fc1bc39eefd8cb3d: Bug 1313497 - Use InvokeAsync with Storages in TrackBuffersManager - r?jya
draft
Gerald Squelart <gsquelart@mozilla.com> - Sun, 13 Nov 2016 16:37:24 +1100 - rev 440587
Push
36269 by gsquelart@mozilla.com at Thu, 17 Nov 2016 20:58:24 +0000
Bug 1313497 - Use InvokeAsync with Storages in TrackBuffersManager - r?jya
MozReview-Commit-ID: IkpuSyFgPbP
bde47b295cb2fe311a14373b9c571b0555e9e159: Bug 1313497 - Use InvokeAsync with Storages in MediaDecoderStateMachine - r?jya
draft
Gerald Squelart <gsquelart@mozilla.com> - Sun, 13 Nov 2016 16:23:39 +1100 - rev 440586
Push
36269 by gsquelart@mozilla.com at Thu, 17 Nov 2016 20:58:24 +0000
Bug 1313497 - Use InvokeAsync with Storages in MediaDecoderStateMachine - r?jya
Thanks to this, MediaDecoderStateMachine::Seek can take SeekTarget by const&.
MozReview-Commit-ID: 97mLndCosQc
a417c644ecc31b556d1b8d66265d899f36ccc2f0: Bug 1313497 - Use InvokeAsync with Storages in MediaDecoderReaderWrapper - r?jya
draft
Gerald Squelart <gsquelart@mozilla.com> - Sun, 13 Nov 2016 17:42:19 +1100 - rev 440585
Push
36269 by gsquelart@mozilla.com at Thu, 17 Nov 2016 20:58:24 +0000
Bug 1313497 - Use InvokeAsync with Storages in MediaDecoderReaderWrapper - r?jya
Thanks to this, MediaDecoderReader::Seek and overrides can take SeekTarget by
const&.
MozReview-Commit-ID: C5D26jKrW3p
4a228f74b5cc23244232dbec2c42cdfab272da99: Bug 1313497 - Pass TimeUnit by const& in MediaDataDemuxer - r?jya
draft
Gerald Squelart <gsquelart@mozilla.com> - Sun, 13 Nov 2016 15:13:51 +1100 - rev 440584
Push
36269 by gsquelart@mozilla.com at Thu, 17 Nov 2016 20:58:24 +0000
Bug 1313497 - Pass TimeUnit by const& in MediaDataDemuxer - r?jya
Thanks to the previous patch, MediaDataDemuxer::Seek and
SkipToNextRandomAccessPoint (and all overrides in derived demuxers) can now
take their TimeUnit parameter by const&.
MozReview-Commit-ID: 6CqfjAXZ7Yk
3f2a314bb5d225d6e7c7a332343aa5db97015903: Bug 1313497 - Use InvokeAsync with Storages in MediaSourceDemuxer - r?jya
draft
Gerald Squelart <gsquelart@mozilla.com> - Sun, 13 Nov 2016 12:03:26 +1100 - rev 440583
Push
36269 by gsquelart@mozilla.com at Thu, 17 Nov 2016 20:58:24 +0000
Bug 1313497 - Use InvokeAsync with Storages in MediaSourceDemuxer - r?jya
We now take a copy of the TimeUnit object, and can then pass it by rref to
internal methods.
MozReview-Commit-ID: J0Idw85NMcu
6b7c46846930cc462e4a0bfbde4b3ffb709d9287: Bug 1313497 - Use InvokeAsync with lambda to replace MediaSourceDemuxer::AttemptInit - r?jya
draft
Gerald Squelart <gsquelart@mozilla.com> - Sun, 13 Nov 2016 11:40:46 +1100 - rev 440582
Push
36269 by gsquelart@mozilla.com at Thu, 17 Nov 2016 20:58:24 +0000
Bug 1313497 - Use InvokeAsync with lambda to replace MediaSourceDemuxer::AttemptInit - r?jya
MozReview-Commit-ID: 5qsQ2zQAMV3
c51d3d668e7d5ebd5888bb4f32ef7ed856fc0260: Bug 1313497 - InvokeAsync taking a lambda - r?froydnj
draft
Gerald Squelart <gsquelart@mozilla.com> - Sun, 13 Nov 2016 11:13:07 +1100 - rev 440581
Push
36269 by gsquelart@mozilla.com at Thu, 17 Nov 2016 20:58:24 +0000
Bug 1313497 - InvokeAsync taking a lambda - r?froydnj
This new InvokeAsync overload takes a single lambda (or any function object).
This is most useful when a method call is not strictly necessary.
Avoid obvious copies by refusing lvalue-references.
(If one day this is really needed, the implementation is already there, hidden
inside `namespace detail`).
MozReview-Commit-ID: 57gPBz9kO1q
2b14c0db36bfeed455349c41946f0d9871803ce5: Bug 1313497 - Expose Is/RemoveSmartPointer - r?froydnj
draft
Gerald Squelart <gsquelart@mozilla.com> - Thu, 17 Nov 2016 14:34:24 +1100 - rev 440580
Push
36269 by gsquelart@mozilla.com at Thu, 17 Nov 2016 20:58:24 +0000
Bug 1313497 - Expose Is/RemoveSmartPointer - r?froydnj
Moved IsRefcountedSmartPointer and StripSmartPointer from ::detail to
::mozilla, to allow their use anywhere.
Renamed StripSmartPointer to RemoveSmartPointer, for consistency with the
usual 'Remove...' type traits.
MozReview-Commit-ID: GMEbWCGfdpc
b63fb5b73f6e933e07919977b33fb08a830a1275: Bug 1313497 - Storages can be provided to InvokeAsync - r?froydnj
draft
Gerald Squelart <gsquelart@mozilla.com> - Fri, 11 Nov 2016 15:10:46 +1100 - rev 440579
Push
36269 by gsquelart@mozilla.com at Thu, 17 Nov 2016 20:58:24 +0000
Bug 1313497 - Storages can be provided to InvokeAsync - r?froydnj
InvokeAsync' Storages work like NewRunnableMethod, where template
parameters must be given, to specify the storage of arguments that are passed
to the target method.
This is especially useful when target methods take references (or pointers),
and there is a choice between passing the reference as-is because the object is
long-lived, or by taking a copy otherwise.
If no Storages are provided, InvokeAsync will store (non-reference) objects and
move them into the target method parameters.
MozReview-Commit-ID: 9qTQf84bOMv
fcc542c307cfc63606b3fceba310ed3ff1e6c27e: Bug 1304636 Part 4: Updated the existing test_flexbox_min_size_auto.html test to match new behavior.
draft
Brad Werth <bwerth@mozilla.com> - Thu, 17 Nov 2016 12:55:06 -0800 - rev 440578
Push
36268 by bwerth@mozilla.com at Thu, 17 Nov 2016 20:58:07 +0000
Bug 1304636 Part 4: Updated the existing test_flexbox_min_size_auto.html test to match new behavior.
MozReview-Commit-ID: 8jyaDttWF6e
85c8713fe020d7a2e91075cc5dee3b47f5fdf84e: Bug 1304636 Part 3: Added a mochitest to verify min-width:auto GetComputedStyle yields 'auto' or '0px', as appropriate.
draft
Brad Werth <bwerth@mozilla.com> - Thu, 17 Nov 2016 11:50:05 -0800 - rev 440577
Push
36268 by bwerth@mozilla.com at Thu, 17 Nov 2016 20:58:07 +0000
Bug 1304636 Part 3: Added a mochitest to verify min-width:auto GetComputedStyle yields 'auto' or '0px', as appropriate.
MozReview-Commit-ID: GwzE68iCY6r
cbe829c514f9139bbe09ee627ed11f68b78f9503: Bug 1304636 Part 2: Similarly handle the min-height case.
draft
Brad Werth <bwerth@mozilla.com> - Thu, 17 Nov 2016 12:46:56 -0800 - rev 440576
Push
36268 by bwerth@mozilla.com at Thu, 17 Nov 2016 20:58:07 +0000
Bug 1304636 Part 2: Similarly handle the min-height case.
MozReview-Commit-ID: BmMvny3HePe
2fd62e53f35444ec45adc16575285a2e500a33f7: Bug 1304636 Part 1: Make GetComputedStyle report 'auto' for min-width:auto items.
draft
Brad Werth <bwerth@mozilla.com> - Thu, 17 Nov 2016 12:44:21 -0800 - rev 440575
Push
36268 by bwerth@mozilla.com at Thu, 17 Nov 2016 20:58:07 +0000
Bug 1304636 Part 1: Make GetComputedStyle report 'auto' for min-width:auto items.
MozReview-Commit-ID: 3snktoHTohq
976e45259f3f4d2675b19fd553d64bc4f31ba3bf: Bug 1313497 - Use InvokeAsync with Storages in GMPServiceParent - r?jya
draft
Gerald Squelart <gsquelart@mozilla.com> - Sun, 13 Nov 2016 17:03:35 +1100 - rev 440574
Push
36267 by gsquelart@mozilla.com at Thu, 17 Nov 2016 20:57:00 +0000
Bug 1313497 - Use InvokeAsync with Storages in GMPServiceParent - r?jya
MozReview-Commit-ID: LnbzlqQIWco
b807dff4040757d62776a967ac25f48dbede4654: Bug 1313497 - Use InvokeAsync with Storages in GMPParent - r?jya
draft
Gerald Squelart <gsquelart@mozilla.com> - Sun, 13 Nov 2016 16:53:05 +1100 - rev 440573
Push
36267 by gsquelart@mozilla.com at Thu, 17 Nov 2016 20:57:00 +0000
Bug 1313497 - Use InvokeAsync with Storages in GMPParent - r?jya
MozReview-Commit-ID: EQQFDzvAs8O
ef9a267ede18f688dff9496597a9a48c1a90d4d8: Bug 1313497 - AppendBufferTask can take SourceBufferAttributes by const& - r?jya
draft
Gerald Squelart <gsquelart@mozilla.com> - Sun, 13 Nov 2016 16:39:47 +1100 - rev 440572
Push
36267 by gsquelart@mozilla.com at Thu, 17 Nov 2016 20:57:00 +0000
Bug 1313497 - AppendBufferTask can take SourceBufferAttributes by const& - r?jya
A small optimization found while working on the previous patch.
MozReview-Commit-ID: 4w2LI5mqUvS
7d4ad75a980fd35b2a91e9a3432c74d096bbef66: Bug 1313497 - Use InvokeAsync with Storages in TrackBuffersManager - r?jya
draft
Gerald Squelart <gsquelart@mozilla.com> - Sun, 13 Nov 2016 16:37:24 +1100 - rev 440571
Push
36267 by gsquelart@mozilla.com at Thu, 17 Nov 2016 20:57:00 +0000
Bug 1313497 - Use InvokeAsync with Storages in TrackBuffersManager - r?jya
MozReview-Commit-ID: IkpuSyFgPbP
c2de9aab06f6f45e8d1b24522a2d42a8b8b7c704: Bug 1313497 - Use InvokeAsync with Storages in MediaDecoderStateMachine - r?jya
draft
Gerald Squelart <gsquelart@mozilla.com> - Sun, 13 Nov 2016 16:23:39 +1100 - rev 440570
Push
36267 by gsquelart@mozilla.com at Thu, 17 Nov 2016 20:57:00 +0000
Bug 1313497 - Use InvokeAsync with Storages in MediaDecoderStateMachine - r?jya
Thanks to this, MediaDecoderStateMachine::Seek can take SeekTarget by const&.
MozReview-Commit-ID: 97mLndCosQc
9d27fcdf6ab4d121ff08811a351f281e88a3aa11: Bug 1313497 - Use InvokeAsync with Storages in MediaDecoderReaderWrapper - r?jya
draft
Gerald Squelart <gsquelart@mozilla.com> - Sun, 13 Nov 2016 17:42:19 +1100 - rev 440569
Push
36267 by gsquelart@mozilla.com at Thu, 17 Nov 2016 20:57:00 +0000
Bug 1313497 - Use InvokeAsync with Storages in MediaDecoderReaderWrapper - r?jya
Thanks to this, MediaDecoderReader::Seek and overrides can take SeekTarget by
const&.
MozReview-Commit-ID: C5D26jKrW3p