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

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: Found the windows failure, and fixed it. Thanks akalin@ Created 8 years, 1 month 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 | « media/filters/video_frame_generator.cc ('k') | media/tools/player_wtl/view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « media/filters/video_frame_generator.cc ('k') | media/tools/player_wtl/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698