OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 #include "webrtc/base/event_tracer.h" | 10 #include "webrtc/base/event_tracer.h" |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 RTC_DCHECK(old_logger); | 398 RTC_DCHECK(old_logger); |
399 RTC_CHECK(rtc::AtomicOps::CompareAndSwapPtr( | 399 RTC_CHECK(rtc::AtomicOps::CompareAndSwapPtr( |
400 &g_event_logger, old_logger, | 400 &g_event_logger, old_logger, |
401 static_cast<EventLogger*>(nullptr)) == old_logger); | 401 static_cast<EventLogger*>(nullptr)) == old_logger); |
402 delete old_logger; | 402 delete old_logger; |
403 webrtc::SetupEventTracer(nullptr, nullptr); | 403 webrtc::SetupEventTracer(nullptr, nullptr); |
404 } | 404 } |
405 | 405 |
406 } // namespace tracing | 406 } // namespace tracing |
407 } // namespace rtc | 407 } // namespace rtc |
OLD | NEW |