Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Unified Diff: webkit/media/webvideoframe_impl.cc

Issue 10824141: Remove VideoDecoder::natural_size() & added VideoFrame::natural_size(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix copyright year. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/media/skcanvas_video_renderer_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/webvideoframe_impl.cc
diff --git a/webkit/media/webvideoframe_impl.cc b/webkit/media/webvideoframe_impl.cc
index d6e178c24cdcd433c4c6feb47d72d835bb422957..51532c9918ad9ad3fdd1a4640484ce2e0b335b52 100644
--- a/webkit/media/webvideoframe_impl.cc
+++ b/webkit/media/webvideoframe_impl.cc
@@ -48,13 +48,13 @@ WebVideoFrame::Format WebVideoFrameImpl::format() const {
unsigned WebVideoFrameImpl::width() const {
if (video_frame_.get())
- return video_frame_->width();
+ return video_frame_->data_size().width();
return 0;
}
unsigned WebVideoFrameImpl::height() const {
if (video_frame_.get())
- return video_frame_->height();
+ return video_frame_->data_size().height();
return 0;
}
« no previous file with comments | « webkit/media/skcanvas_video_renderer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698