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

Unified Diff: cc/ipc/cc_param_traits_unittest.cc

Issue 2919863004: Add flag to signal that video frame must be drawn using an overlay. (Closed)
Patch Set: cleanup 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
« no previous file with comments | « no previous file | cc/ipc/quads.mojom » ('j') | media/base/video_frame_metadata.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/cc_param_traits_unittest.cc
diff --git a/cc/ipc/cc_param_traits_unittest.cc b/cc/ipc/cc_param_traits_unittest.cc
index 776e5c2ac3065ef7cb5baedb59771866f71b0b26..7e5a0803424ba6e3def769348f8f78fa7c735b38 100644
--- a/cc/ipc/cc_param_traits_unittest.cc
+++ b/cc/ipc/cc_param_traits_unittest.cc
@@ -206,6 +206,7 @@ class CCParamTraitsTest : public testing::Test {
EXPECT_EQ(a->a_plane_resource_id(), b->a_plane_resource_id());
EXPECT_EQ(a->color_space, b->color_space);
EXPECT_EQ(a->bits_per_channel, b->bits_per_channel);
+ EXPECT_EQ(a->require_overlay, b->require_overlay);
}
void Compare(const TransferableResource& a, const TransferableResource& b) {
@@ -420,7 +421,7 @@ TEST_F(CCParamTraitsTest, AllQuads) {
arbitrary_rectf2, arbitrary_size1, arbitrary_size2, arbitrary_resourceid1,
arbitrary_resourceid2, arbitrary_resourceid3, arbitrary_resourceid4,
arbitrary_video_color_space, arbitrary_color_space, arbitrary_float1,
- arbitrary_float2, arbitrary_int);
+ arbitrary_float2, arbitrary_int, arbitrary_bool2);
pass_cmp->CopyFromAndAppendDrawQuad(yuvvideo_in,
yuvvideo_in->shared_quad_state);
« no previous file with comments | « no previous file | cc/ipc/quads.mojom » ('j') | media/base/video_frame_metadata.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698