Index: webrtc/system_wrappers/source/trace_posix.h |
diff --git a/webrtc/system_wrappers/source/trace_posix.h b/webrtc/system_wrappers/source/trace_posix.h |
index 25dfeec07954eea7c35473b32ab305764e5a5ead..9da71039c9a3de22933381f6fbf785551f2ec5c6 100644 |
--- a/webrtc/system_wrappers/source/trace_posix.h |
+++ b/webrtc/system_wrappers/source/trace_posix.h |
@@ -11,7 +11,7 @@ |
#ifndef WEBRTC_SYSTEM_WRAPPERS_SOURCE_TRACE_POSIX_H_ |
#define WEBRTC_SYSTEM_WRAPPERS_SOURCE_TRACE_POSIX_H_ |
-#include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
+#include "webrtc/base/criticalsection.h" |
#include "webrtc/system_wrappers/source/trace_impl.h" |
namespace webrtc { |
@@ -19,7 +19,7 @@ namespace webrtc { |
class TracePosix : public TraceImpl { |
public: |
TracePosix(); |
- ~TracePosix() override; |
+ ~TracePosix() override = default; |
// This method can be called on several different threads different from |
// the creating thread. |
@@ -31,7 +31,7 @@ class TracePosix : public TraceImpl { |
volatile mutable uint32_t prev_api_tick_count_; |
volatile mutable uint32_t prev_tick_count_; |
- CriticalSectionWrapper& crit_sect_; |
+ rtc::CriticalSection crit_sect_; |
}; |
} // namespace webrtc |