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

@ -33,7 +33,6 @@ RtpFrameObject::RtpFrameObject(PacketBuffer* packet_buffer,
last_seq_num_(last_seq_num),
received_time_(received_time),
times_nacked_(times_nacked) {
size = frame_size;
VCMPacket* packet = packet_buffer_->GetPacket(first_seq_num);
if (packet) {
// TODO(philipel): Remove when encoded image is replaced by FrameObject.