| Index: webrtc/media/engine/webrtcvideoengine2.cc | 
| diff --git a/webrtc/media/engine/webrtcvideoengine2.cc b/webrtc/media/engine/webrtcvideoengine2.cc | 
| index 65833873f68c0e1a6f76edf67cba5fede33405d6..bdaca13af5009b8adb813fb2f6e79c59b321365b 100644 | 
| --- a/webrtc/media/engine/webrtcvideoengine2.cc | 
| +++ b/webrtc/media/engine/webrtcvideoengine2.cc | 
| @@ -1342,8 +1342,9 @@ bool WebRtcVideoChannel2::GetStats(VideoMediaInfo* info) { | 
| FillSenderStats(info, log_stats); | 
| FillReceiverStats(info, log_stats); | 
| FillSendAndReceiveCodecStats(info); | 
| +  // TODO(holmer): We should either have rtt available as a metric on | 
| +  // VideoSend/ReceiveStreams, or we should remove rtt from VideoSenderInfo. | 
| webrtc::Call::Stats stats = call_->GetStats(); | 
| -  FillBandwidthEstimationStats(stats, info); | 
| if (stats.rtt_ms != -1) { | 
| for (size_t i = 0; i < info->senders.size(); ++i) { | 
| info->senders[i].rtt_ms = stats.rtt_ms; | 
| @@ -1378,22 +1379,14 @@ void WebRtcVideoChannel2::FillReceiverStats(VideoMediaInfo* video_media_info, | 
| } | 
| } | 
|  | 
| -void WebRtcVideoChannel2::FillBandwidthEstimationStats( | 
| -    const webrtc::Call::Stats& stats, | 
| -    VideoMediaInfo* video_media_info) { | 
| -  BandwidthEstimationInfo bwe_info; | 
| -  bwe_info.available_send_bandwidth = stats.send_bandwidth_bps; | 
| -  bwe_info.available_recv_bandwidth = stats.recv_bandwidth_bps; | 
| -  bwe_info.bucket_delay = stats.pacer_delay_ms; | 
| - | 
| -  // Get send stream bitrate stats. | 
| +bool WebRtcVideoChannel2::FillBitrateInfo(BandwidthEstimationInfo* bwe_info) { | 
| rtc::CritScope stream_lock(&stream_crit_); | 
| for (std::map<uint32_t, WebRtcVideoSendStream*>::iterator stream = | 
| send_streams_.begin(); | 
| stream != send_streams_.end(); ++stream) { | 
| -    stream->second->FillBandwidthEstimationInfo(&bwe_info); | 
| +    stream->second->FillBitrateInfo(bwe_info); | 
| } | 
| -  video_media_info->bw_estimations.push_back(bwe_info); | 
| +  return true; | 
| } | 
|  | 
| void WebRtcVideoChannel2::FillSendAndReceiveCodecStats( | 
| @@ -2100,7 +2093,7 @@ VideoSenderInfo WebRtcVideoChannel2::WebRtcVideoSendStream::GetVideoSenderInfo( | 
| return info; | 
| } | 
|  | 
| -void WebRtcVideoChannel2::WebRtcVideoSendStream::FillBandwidthEstimationInfo( | 
| +void WebRtcVideoChannel2::WebRtcVideoSendStream::FillBitrateInfo( | 
| BandwidthEstimationInfo* bwe_info) { | 
| RTC_DCHECK_RUN_ON(&thread_checker_); | 
| if (stream_ == NULL) { | 
|  |