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

Unified Diff: media/filters/video_renderer_base_unittest.cc

Issue 11269017: Plumb through cropped output size for VideoFrame (Closed) Base URL: https://git.chromium.org/git/chromium/src@git-svn
Patch Set: Now with passing unittest!wq Created 8 years, 2 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
Index: media/filters/video_renderer_base_unittest.cc
diff --git a/media/filters/video_renderer_base_unittest.cc b/media/filters/video_renderer_base_unittest.cc
index b81c40de2ad7cb1a651f6827cdcdbe40d9d4fd00..9ce8a9c999e76b04b251a6280b879aa8d4da3c61 100644
--- a/media/filters/video_renderer_base_unittest.cc
+++ b/media/filters/video_renderer_base_unittest.cc
@@ -287,7 +287,8 @@ class VideoRendererBaseTest : public ::testing::Test {
// Creates a frame with given timestamp.
scoped_refptr<VideoFrame> CreateFrame(int timestamp) {
scoped_refptr<VideoFrame> frame =
- VideoFrame::CreateFrame(VideoFrame::RGB32, kNaturalSize, kNaturalSize,
+ VideoFrame::CreateFrame(VideoFrame::RGB32, kNaturalSize,
+ gfx::Rect(kNaturalSize), kNaturalSize,
base::TimeDelta::FromMilliseconds(timestamp));
return frame;
}

Powered by Google App Engine
This is Rietveld 408576698