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

Unified Diff: media/mojo/services/mojo_cdm_allocator_unittest.cc

Issue 2908303003: media: Create Mojo StructTraits for VideoFrame (Closed)
Patch Set: Correct mojo_cdm_allocator_unittest.cc Created 3 years, 6 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/mojo/services/mojo_cdm_allocator_unittest.cc
diff --git a/media/mojo/services/mojo_cdm_allocator_unittest.cc b/media/mojo/services/mojo_cdm_allocator_unittest.cc
index 8fad63176a10585df5494e36b605f9764b410e99..11842aea4e4553b93e15dd9987dd91b6d0891833 100644
--- a/media/mojo/services/mojo_cdm_allocator_unittest.cc
+++ b/media/mojo/services/mojo_cdm_allocator_unittest.cc
@@ -94,7 +94,7 @@ TEST_F(MojoCdmAllocatorTest, CreateCdmVideoFrame) {
// Create a VideoFrameImpl and initialize it.
std::unique_ptr<VideoFrameImpl> video_frame = CreateCdmVideoFrame();
video_frame->SetFormat(cdm::kI420);
- video_frame->SetSize(cdm::Size(kHeight, kWidth));
+ video_frame->SetSize(cdm::Size(kWidth, kHeight));
video_frame->SetStride(VideoFrameImpl::kYPlane,
static_cast<uint32_t>(VideoFrame::RowBytes(
VideoFrame::kYPlane, kFormat, kWidth)));

Powered by Google App Engine
This is Rietveld 408576698