Bug 1039924 part 5 - Add StickyTimeDuration; r=froydnj
commit06971eef4d6f6e98564968c598f103b031d886bb
authorBrian Birtles <birtles@gmail.com>
Thu, 25 Sep 2014 05:25:50 +0000 (25 14:25 +0900)
committerBrian Birtles <birtles@gmail.com>
Thu, 25 Sep 2014 05:25:50 +0000 (25 14:25 +0900)
treeb2f0d11f5b47ceda4e0952160cea25bf97157e6b
parent7d6c8bae55e63fcb30f066e068bd09b5296445a3
Bug 1039924 part 5 - Add StickyTimeDuration; r=froydnj

This patch adds another implementation of BaseTimeDuration's ValueCalculator
template parameter that is careful to preserve Forever/-Forever values when
performing arithmetic.

It also defines a typedef for a specialization of BaseTimeDuration that uses
this new ValueCalculator definition.
xpcom/ds/StickyTimeDuration.h [new file with mode: 0644]
xpcom/ds/moz.build