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

Unified Diff: cc/ipc/cc_param_traits_unittest.cc

Issue 2773103002: cc: Unify all sources of color space for YUVVideoDrawQuad (Closed)
Patch Set: Created 3 years, 9 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 | « cc/ipc/cc_param_traits_macros.h ('k') | cc/ipc/quads.mojom » ('j') | no next file with comments »
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 edd451d7fe3809cc7c021632174b4f937cac93cc..56537cac425d582fa67960b75a1c3c4b10686d5b 100644
--- a/cc/ipc/cc_param_traits_unittest.cc
+++ b/cc/ipc/cc_param_traits_unittest.cc
@@ -204,7 +204,6 @@ class CCParamTraitsTest : public testing::Test {
EXPECT_EQ(a->u_plane_resource_id(), b->u_plane_resource_id());
EXPECT_EQ(a->v_plane_resource_id(), b->v_plane_resource_id());
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);
}
@@ -281,8 +280,6 @@ TEST_F(CCParamTraitsTest, AllQuads) {
ResourceId arbitrary_resourceid4 = 16;
SkScalar arbitrary_sigma = SkFloatToScalar(2.0f);
gfx::ColorSpace arbitrary_color_space = gfx::ColorSpace::CreateREC601();
- YUVVideoDrawQuad::ColorSpace arbitrary_video_color_space =
- YUVVideoDrawQuad::REC_601;
int child_id = 30;
int root_id = 14;
@@ -419,8 +416,7 @@ TEST_F(CCParamTraitsTest, AllQuads) {
arbitrary_rect1_inside_rect1, arbitrary_bool1, arbitrary_rectf1,
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_float1, arbitrary_float2, arbitrary_int);
pass_cmp->CopyFromAndAppendDrawQuad(yuvvideo_in,
yuvvideo_in->shared_quad_state);
« no previous file with comments | « cc/ipc/cc_param_traits_macros.h ('k') | cc/ipc/quads.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698