| Index: base/debug/trace_event_unittest.cc
|
| diff --git a/base/debug/trace_event_unittest.cc b/base/debug/trace_event_unittest.cc
|
| index 30ad797e060d96f023da990d15bb6c228a42b5d4..4494c99f30eccfc7273fa411bc28f25169fb7c34 100644
|
| --- a/base/debug/trace_event_unittest.cc
|
| +++ b/base/debug/trace_event_unittest.cc
|
| @@ -2,8 +2,6 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "base/debug/trace_event_unittest.h"
|
| -
|
| #include <math.h>
|
| #include <cstdlib>
|
|
|
| @@ -871,13 +869,6 @@ void ValidateInstantEventPresentOnEveryThread(const ListValue& trace_parsed,
|
|
|
| } // namespace
|
|
|
| -void HighResSleepForTraceTest(base::TimeDelta elapsed) {
|
| - base::TimeTicks end_time = base::TimeTicks::HighResNow() + elapsed;
|
| - do {
|
| - base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(1));
|
| - } while (base::TimeTicks::HighResNow() < end_time);
|
| -}
|
| -
|
| // Simple Test for emitting data and validating it was received.
|
| TEST_F(TraceEventTestFixture, DataCaptured) {
|
| TraceLog::GetInstance()->SetEnabled(
|
|
|