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

Unified Diff: media/cast/logging/logging_stats.cc

Issue 69603002: Incorporating logging into Cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding scoped_ptr include Created 7 years, 1 month 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 | « media/cast/logging/logging_stats.h ('k') | media/cast/pacing/paced_sender_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/logging/logging_stats.cc
diff --git a/media/cast/logging/logging_stats.cc b/media/cast/logging/logging_stats.cc
index 95e916a64fcd8c889acec4b6d4a91cf8173524e8..84fdbf7a615d90aea4435359f799904c8f834d94 100644
--- a/media/cast/logging/logging_stats.cc
+++ b/media/cast/logging/logging_stats.cc
@@ -16,6 +16,7 @@ LoggingStats::LoggingStats(base::TickClock* clock)
start_time_(),
clock_(clock) {
memset(counts_, 0, sizeof(counts_));
+ memset(start_time_, 0, sizeof(start_time_));
}
LoggingStats::~LoggingStats() {}
@@ -82,7 +83,7 @@ void LoggingStats::InsertPacketEvent(CastLoggingEvent event,
uint32 frame_id,
uint16 packet_id,
uint16 max_packet_id,
- int size) {
+ size_t size) {
// Does this packet belong to an existing event?
PacketStatsMap::iterator it = packet_stats_.find(event);
if (it == packet_stats_.end()) {
« no previous file with comments | « media/cast/logging/logging_stats.h ('k') | media/cast/pacing/paced_sender_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698