| Index: third_party/WebKit/Source/wtf/CurrentTime.h
|
| diff --git a/third_party/WebKit/Source/wtf/CurrentTime.h b/third_party/WebKit/Source/wtf/CurrentTime.h
|
| index c8ca55c743abede47e38ed46c3ac9918497cbe94..97c55191083d10f68c7f61da66f14dfe9f4c568e 100644
|
| --- a/third_party/WebKit/Source/wtf/CurrentTime.h
|
| +++ b/third_party/WebKit/Source/wtf/CurrentTime.h
|
| @@ -46,8 +46,9 @@ inline double currentTimeMS() {
|
| return currentTime() * 1000.0;
|
| }
|
|
|
| -// Provides a monotonically increasing time in seconds since an arbitrary point in the past.
|
| -// On unsupported platforms, this function only guarantees the result will be non-decreasing.
|
| +// Provides a monotonically increasing time in seconds since an arbitrary point
|
| +// in the past. On unsupported platforms, this function only guarantees the
|
| +// result will be non-decreasing.
|
| WTF_EXPORT double monotonicallyIncreasingTime();
|
|
|
| // Same thing, in milliseconds.
|
| @@ -57,9 +58,10 @@ inline double monotonicallyIncreasingTimeMS() {
|
|
|
| using TimeFunction = double (*)();
|
|
|
| -// Make all the time functions (currentTime(), monotonicallyIncreasingTime(), systemTraceTime()) return the result
|
| -// of the supplied function. Returns the pointer to the old time function. For both setting and getting, nullptr means
|
| -// using the default timing function returning the actual time.
|
| +// Make all the time functions (currentTime(), monotonicallyIncreasingTime(),
|
| +// systemTraceTime()) return the result of the supplied function. Returns the
|
| +// pointer to the old time function. For both setting and getting, nullptr
|
| +// means using the default timing function returning the actual time.
|
| WTF_EXPORT TimeFunction setTimeFunctionsForTesting(TimeFunction);
|
|
|
| } // namespace WTF
|
|
|