| Index: mojo/edk/system/test_utils.cc
|
| diff --git a/mojo/edk/system/test_utils.cc b/mojo/edk/system/test_utils.cc
|
| index 823bcf4ea3d4caa393532d89764ccdc545d9ea0e..5d78b15522b45923c2669a41e12eadcc0662b547 100644
|
| --- a/mojo/edk/system/test_utils.cc
|
| +++ b/mojo/edk/system/test_utils.cc
|
| @@ -79,11 +79,11 @@ Stopwatch::~Stopwatch() {
|
| }
|
|
|
| void Stopwatch::Start() {
|
| - start_time_ = base::TimeTicks::Now();
|
| + start_time_ = platform_support_.GetTimeTicksNow();
|
| }
|
|
|
| MojoDeadline Stopwatch::Elapsed() {
|
| - int64_t result = (base::TimeTicks::Now() - start_time_).InMicroseconds();
|
| + int64_t result = platform_support_.GetTimeTicksNow() - start_time_;
|
| // |DCHECK_GE|, not |CHECK_GE|, since this may be performance-important.
|
| DCHECK_GE(result, 0);
|
| return static_cast<MojoDeadline>(result);
|
|
|