Index: base/trace_event/trace_event_synthetic_delay.cc |
diff --git a/base/trace_event/trace_event_synthetic_delay.cc b/base/trace_event/trace_event_synthetic_delay.cc |
index 3651611c5842a92ccf601e82992313dbe0feaa0e..4b957c321da3b741d9e7e83a661e17c381b45cbf 100644 |
--- a/base/trace_event/trace_event_synthetic_delay.cc |
+++ b/base/trace_event/trace_event_synthetic_delay.cc |
@@ -10,7 +10,7 @@ const int kMaxSyntheticDelays = 32; |
} // namespace |
namespace base { |
-namespace debug { |
+namespace trace_event { |
TraceEventSyntheticDelayClock::TraceEventSyntheticDelayClock() {} |
TraceEventSyntheticDelayClock::~TraceEventSyntheticDelayClock() {} |
@@ -200,7 +200,7 @@ void ResetTraceEventSyntheticDelays() { |
TraceEventSyntheticDelayRegistry::GetInstance()->ResetAllDelays(); |
} |
-} // namespace debug |
+} // namespace trace_event |
} // namespace base |
namespace trace_event_internal { |
@@ -215,15 +215,16 @@ ScopedSyntheticDelay::~ScopedSyntheticDelay() { |
delay_impl_->EndParallel(end_time_); |
} |
-base::debug::TraceEventSyntheticDelay* GetOrCreateDelay( |
+base::trace_event::TraceEventSyntheticDelay* GetOrCreateDelay( |
const char* name, |
base::subtle::AtomicWord* impl_ptr) { |
- base::debug::TraceEventSyntheticDelay* delay_impl = |
- reinterpret_cast<base::debug::TraceEventSyntheticDelay*>( |
+ base::trace_event::TraceEventSyntheticDelay* delay_impl = |
+ reinterpret_cast<base::trace_event::TraceEventSyntheticDelay*>( |
base::subtle::Acquire_Load(impl_ptr)); |
if (!delay_impl) { |
- delay_impl = base::debug::TraceEventSyntheticDelayRegistry::GetInstance() |
- ->GetOrCreateDelay(name); |
+ delay_impl = |
+ base::trace_event::TraceEventSyntheticDelayRegistry::GetInstance() |
+ ->GetOrCreateDelay(name); |
base::subtle::Release_Store( |
impl_ptr, reinterpret_cast<base::subtle::AtomicWord>(delay_impl)); |
} |