Delete FrameObject::size member.
Replaced with a size() method, returning the corresponding attribute (_length) of the underlying EncodedImage. BUG=None Review-Url: https://codereview.webrtc.org/2444193010 Cr-Commit-Position: refs/heads/master@{#14809}
This commit is contained in:
@ -145,7 +145,7 @@ TEST_F(TestPacketBuffer, FrameSize) {
|
||||
InsertPacket(seq_num + 3, kKeyFrame, kNotFirst, kLast, 5, data);
|
||||
|
||||
ASSERT_EQ(1UL, frames_from_callback_.size());
|
||||
EXPECT_EQ(20UL, frames_from_callback_.begin()->second->size);
|
||||
EXPECT_EQ(20UL, frames_from_callback_.begin()->second->size());
|
||||
}
|
||||
|
||||
TEST_F(TestPacketBuffer, ExpandBuffer) {
|
||||
|
||||
Reference in New Issue
Block a user