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:
nisse
2016-10-28 00:37:29 -07:00
committed by Commit bot
parent 11f72b1945
commit 37abf53116
4 changed files with 3 additions and 5 deletions

View File

@ -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) {