| Index: src/platform/time.h
|
| diff --git a/src/platform/time.h b/src/platform/time.h
|
| index a0d5425b1949a5ce11fcae151834b34d2df6b2ef..3fed6287fe0d1e0b2bdd0b79830285ae9b2da88a 100644
|
| --- a/src/platform/time.h
|
| +++ b/src/platform/time.h
|
| @@ -88,6 +88,10 @@ class TimeDelta V8_FINAL BASE_EMBEDDED {
|
| static TimeDelta FromMachTimespec(struct mach_timespec ts);
|
| struct mach_timespec ToMachTimespec() const;
|
|
|
| + // Converts to/from POSIX time specs.
|
| + static TimeDelta FromTimespec(struct timespec ts);
|
| + struct timespec ToTimespec() const;
|
| +
|
| TimeDelta& operator=(const TimeDelta& other) {
|
| delta_ = other.delta_;
|
| return *this;
|
|
|