| Index: base/debug/trace_event_synthetic_delay_unittest.cc
|
| diff --git a/base/debug/trace_event_synthetic_delay_unittest.cc b/base/debug/trace_event_synthetic_delay_unittest.cc
|
| index 7833e7bbcdeb89d47bc2bb404e280cf962f48260..a418eed32e3faceb45d04c8a0bba0ec0d57d8df4 100644
|
| --- a/base/debug/trace_event_synthetic_delay_unittest.cc
|
| +++ b/base/debug/trace_event_synthetic_delay_unittest.cc
|
| @@ -41,19 +41,19 @@ class TraceEventSyntheticDelayTest : public testing::Test,
|
|
|
| void AdvanceTime(base::TimeDelta delta) { now_ += delta; }
|
|
|
| - int TestFunction() {
|
| + int64 TestFunction() {
|
| base::TimeTicks start = Now();
|
| { TRACE_EVENT_SYNTHETIC_DELAY("test.Delay"); }
|
| return (Now() - start).InMilliseconds();
|
| }
|
|
|
| - int AsyncTestFunctionBegin() {
|
| + int64 AsyncTestFunctionBegin() {
|
| base::TimeTicks start = Now();
|
| { TRACE_EVENT_SYNTHETIC_DELAY_BEGIN("test.AsyncDelay"); }
|
| return (Now() - start).InMilliseconds();
|
| }
|
|
|
| - int AsyncTestFunctionEnd() {
|
| + int64 AsyncTestFunctionEnd() {
|
| base::TimeTicks start = Now();
|
| { TRACE_EVENT_SYNTHETIC_DELAY_END("test.AsyncDelay"); }
|
| return (Now() - start).InMilliseconds();
|
|
|