Skip to content

Commit

Permalink
b=1024901 revert TrackTicks range assertion to warning, unintentional…
Browse files Browse the repository at this point in the history
…ly changed in b33b8af66151 r=roc

--HG--
extra : transplant_source : %D8%F8%C3%C2%C3%BF%29%F5%9C%3DiG%04%F9%86Gu%29%9A%8C
  • Loading branch information
karlt committed Jun 18, 2014
1 parent 05136cd commit 7c9f215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/media/StreamBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ inline TrackTicks RateConvertTicksRoundDown(TrackRate aOutRate,
{
NS_ASSERTION(0 < aOutRate && aOutRate <= TRACK_RATE_MAX, "Bad out rate");
NS_ASSERTION(0 < aInRate && aInRate <= TRACK_RATE_MAX, "Bad in rate");
NS_ASSERTION(0 <= aTicks && aTicks <= TRACK_TICKS_MAX, "Bad ticks");
NS_WARN_IF_FALSE(0 <= aTicks && aTicks <= TRACK_TICKS_MAX, "Bad ticks"); // bug 957691
return (aTicks * aOutRate) / aInRate;
}
inline TrackTicks RateConvertTicksRoundUp(TrackRate aOutRate,
Expand Down

0 comments on commit 7c9f215

Please sign in to comment.