| Index: cc/base/time_util.h
|
| diff --git a/cc/base/time_util.h b/cc/base/time_util.h
|
| index dc07e7489c204262c98dcb6d88a82b2ef0481b68..06682c27e2fc1efd08142e65d6b4545eea937961 100644
|
| --- a/cc/base/time_util.h
|
| +++ b/cc/base/time_util.h
|
| @@ -18,6 +18,11 @@ class CC_EXPORT TimeUtil {
|
| static_cast<double>(time_delta.ToInternalValue()) * value));
|
| }
|
|
|
| + static double Divide(base::TimeDelta dividend, base::TimeDelta divisor) {
|
| + return static_cast<double>(dividend.ToInternalValue()) /
|
| + static_cast<double>(divisor.ToInternalValue());
|
| + }
|
| +
|
| static base::TimeDelta Mod(base::TimeDelta dividend,
|
| base::TimeDelta divisor) {
|
| return base::TimeDelta::FromInternalValue(dividend.ToInternalValue() %
|
|
|