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

Unified Diff: net/quic/congestion_control/quic_receipt_metrics_collector_test.cc

Issue 11961022: Remove default constructors for QuicTime and QuicTime::Delta and used static Zero() methods instead… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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: net/quic/congestion_control/quic_receipt_metrics_collector_test.cc
diff --git a/net/quic/congestion_control/quic_receipt_metrics_collector_test.cc b/net/quic/congestion_control/quic_receipt_metrics_collector_test.cc
index 52f661c0e3501793a6513c66e4113970974d1a51..891fcba6d3eb2c4ae55647aa617584a37670dbbf 100644
--- a/net/quic/congestion_control/quic_receipt_metrics_collector_test.cc
+++ b/net/quic/congestion_control/quic_receipt_metrics_collector_test.cc
@@ -24,7 +24,7 @@ class QuicReceiptMetricsCollectorTest : public ::testing::Test {
TEST_F(QuicReceiptMetricsCollectorTest, FixedRateReceiverAPI) {
SetUpCongestionType(kFixRate);
QuicCongestionFeedbackFrame feedback;
- QuicTime timestamp;
+ QuicTime timestamp(QuicTime::Zero());
receiver_->RecordIncomingPacket(1, 1, timestamp, false);
ASSERT_TRUE(receiver_->GenerateCongestionFeedback(&feedback));
EXPECT_EQ(kFixRate, feedback.type);

Powered by Google App Engine
This is Rietveld 408576698