| Index: base/profiler/tracked_time.cc
|
| diff --git a/base/profiler/tracked_time.cc b/base/profiler/tracked_time.cc
|
| index 7791c3adc6b8580f09ccffd100bc6a2dd241c81f..0121038f7548d0fa644c4d11d3d853d68dfde286 100644
|
| --- a/base/profiler/tracked_time.cc
|
| +++ b/base/profiler/tracked_time.cc
|
| @@ -46,7 +46,7 @@ int32 Duration::InMilliseconds() const { return ms_; }
|
| TrackedTime::TrackedTime() : ms_(0) {}
|
| TrackedTime::TrackedTime(int32 ms) : ms_(ms) {}
|
| TrackedTime::TrackedTime(const base::TimeTicks& time)
|
| - : ms_((time - base::TimeTicks()).InMilliseconds()) {
|
| + : ms_(static_cast<int32>((time - base::TimeTicks()).InMilliseconds())) {
|
| }
|
|
|
| // static
|
|
|