Chromium Code Reviews| Index: src/platform/time.cc |
| diff --git a/src/platform/time.cc b/src/platform/time.cc |
| index 32e74794cfdd139fc9e5d53fbe142db8e189b102..a4d796e836bc099269ad2080a2e3a2221b0a4587 100644 |
| --- a/src/platform/time.cc |
| +++ b/src/platform/time.cc |
| @@ -17,7 +17,7 @@ |
| #include "src/cpu.h" |
| #include "src/platform.h" |
| #if V8_OS_WIN |
| -#include "src/win32-headers.h" |
| +#include "src/base/win32-headers.h" |
| #endif |
| namespace v8 { |
| @@ -193,9 +193,9 @@ class Clock V8_FINAL { |
| }; |
| -static LazyStaticInstance<Clock, |
| - DefaultConstructTrait<Clock>, |
| - ThreadSafeInitOnceTrait>::type clock = LAZY_STATIC_INSTANCE_INITIALIZER; |
| +static base::LazyStaticInstance<Clock, base::DefaultConstructTrait<Clock>, |
|
Jakob Kummerow
2014/06/05 11:49:06
IWYU?
|
| + base::ThreadSafeInitOnceTrait>::type clock = |
| + LAZY_STATIC_INSTANCE_INITIALIZER; |
| Time Time::Now() { |
| @@ -462,10 +462,11 @@ class RolloverProtectedTickClock V8_FINAL : public TickClock { |
| }; |
| -static LazyStaticInstance<RolloverProtectedTickClock, |
| - DefaultConstructTrait<RolloverProtectedTickClock>, |
| - ThreadSafeInitOnceTrait>::type tick_clock = |
| - LAZY_STATIC_INSTANCE_INITIALIZER; |
| +static base::LazyStaticInstance< |
| + RolloverProtectedTickClock, |
| + base::DefaultConstructTrait<RolloverProtectedTickClock>, |
| + base::ThreadSafeInitOnceTrait>::type tick_clock = |
| + LAZY_STATIC_INSTANCE_INITIALIZER; |
| struct CreateHighResTickClockTrait { |
| @@ -489,9 +490,9 @@ struct CreateHighResTickClockTrait { |
| }; |
| -static LazyDynamicInstance<TickClock, |
| +static base::LazyDynamicInstance<TickClock, |
| CreateHighResTickClockTrait, |
| - ThreadSafeInitOnceTrait>::type high_res_tick_clock = |
| + base::ThreadSafeInitOnceTrait>::type high_res_tick_clock = |
| LAZY_DYNAMIC_INSTANCE_INITIALIZER; |