| Index: src/platform-win32.cc
|
| diff --git a/src/platform-win32.cc b/src/platform-win32.cc
|
| index 3283dfa0ec0aae4de64bcbe9513d98eba0d6db4c..35411bfdad089b5c278652d9567f851a543be1ff 100644
|
| --- a/src/platform-win32.cc
|
| +++ b/src/platform-win32.cc
|
| @@ -595,9 +595,7 @@ int OS::GetUserTime(uint32_t* secs, uint32_t* usecs) {
|
| // Returns current time as the number of milliseconds since
|
| // 00:00:00 UTC, January 1, 1970.
|
| double OS::TimeCurrentMillis() {
|
| - Win32Time t;
|
| - t.SetToCurrentTime();
|
| - return t.ToJSTime();
|
| + return Time::Now().ToJsTime();
|
| }
|
|
|
|
|
|
|