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

Unified Diff: webrtc/tools/event_log_visualizer/analyzer.cc

Issue 2353033005: Refactoring: move ownership of RtcEventLog from Call to PeerConnection (Closed)
Patch Set: Make TSan happy Created 4 years, 3 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
Index: webrtc/tools/event_log_visualizer/analyzer.cc
diff --git a/webrtc/tools/event_log_visualizer/analyzer.cc b/webrtc/tools/event_log_visualizer/analyzer.cc
index 260975b4b530f96bfff06f3f0b3eeff66e7e1526..75f3aa6ea6e1e3b6ddcb184f1b1f03907c245daa 100644
--- a/webrtc/tools/event_log_visualizer/analyzer.cc
+++ b/webrtc/tools/event_log_visualizer/analyzer.cc
@@ -952,8 +952,7 @@ void EventLogAnalyzer::CreateBweSimulationGraph(Plot* plot) {
SimulatedClock clock(0);
BitrateObserver observer;
- RtcEventLogNullImpl null_event_log;
- CongestionController cc(&clock, &observer, &observer, &null_event_log);
+ CongestionController cc(&clock, &observer, &observer, nullptr);
// TODO(holmer): Log the call config and use that here instead.
static const uint32_t kDefaultStartBitrateBps = 300000;
cc.SetBweBitrates(0, kDefaultStartBitrateBps, -1);
« webrtc/DEPS ('K') | « webrtc/test/fuzzers/congestion_controller_feedback_fuzzer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698