Removing warning suppression flags from pc/.

Bug: webrtc:9251
Change-Id: Ic12126fc03309448fe71a17e6b65343949496f4f
Reviewed-on: https://webrtc-review.googlesource.com/86820
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23838}
This commit is contained in:
Mirko Bonadei
2018-07-03 12:53:23 +02:00
committed by Commit Bot
parent 36c69d5114
commit e12c1fe8d9
9 changed files with 55 additions and 96 deletions

View File

@ -15,6 +15,7 @@
#include "pc/sctputils.h"
#include "pc/test/fakedatachannelprovider.h"
#include "rtc_base/gunit.h"
#include "rtc_base/numerics/safe_conversions.h"
using webrtc::DataChannel;
using webrtc::SctpSidAllocator;
@ -172,7 +173,8 @@ TEST_F(SctpDataChannelTest, BufferedAmountWhenBlocked) {
}
EXPECT_EQ(buffer.data.size() * number_of_packets,
webrtc_data_channel_->buffered_amount());
EXPECT_EQ(number_of_packets, observer_->on_buffered_amount_change_count());
EXPECT_EQ(rtc::checked_cast<size_t>(number_of_packets),
observer_->on_buffered_amount_change_count());
}
// Tests that the queued data are sent when the channel transitions from blocked