Index: content/renderer/media/capture_video_decoder.cc |
diff --git a/content/renderer/media/capture_video_decoder.cc b/content/renderer/media/capture_video_decoder.cc |
index b55a6c7fdadc147c983a6a5b02755cb013981204..aaaefc99335923cf20420a76bd457b1feccf466f 100644 |
--- a/content/renderer/media/capture_video_decoder.cc |
+++ b/content/renderer/media/capture_video_decoder.cc |
@@ -61,10 +61,6 @@ void CaptureVideoDecoder::Stop(const base::Closure& closure) { |
base::Bind(&CaptureVideoDecoder::StopOnDecoderThread, this, closure)); |
} |
-const gfx::Size& CaptureVideoDecoder::natural_size() { |
- return natural_size_; |
-} |
- |
void CaptureVideoDecoder::PrepareForShutdownHack() { |
message_loop_proxy_->PostTask( |
FROM_HERE, |
@@ -242,6 +238,7 @@ void CaptureVideoDecoder::OnBufferReadyOnDecoderThread( |
media::VideoFrame::CreateFrame(media::VideoFrame::YV12, |
natural_size_.width(), |
natural_size_.height(), |
+ natural_size_, |
buf->timestamp - start_time_); |
last_frame_timestamp_ = buf->timestamp; |