Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(786)

Unified Diff: webrtc/system_wrappers/source/trace_posix.h

Issue 2779623002: remove more CriticalSectionWrappers. (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/system_wrappers/include/static_instance.h ('k') | webrtc/system_wrappers/source/trace_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « webrtc/system_wrappers/include/static_instance.h ('k') | webrtc/system_wrappers/source/trace_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698